UnknownRow

UnknownRow

_Bilal
Advocate Advocate
792 Views
8 Replies
Message 1 of 9

UnknownRow

_Bilal
Advocate
Advocate

Hello,

 

I searched in the documentation for acUnknownRow but I didn't find the relevant documentation regarding the acUnknownRow. As I knew the actitlerow is supposed to be the row 0, acheaderrow is row 1 and acdatarow varies from row 2 till the end of the table,  the question is what about acUnkownRow?

 

Some help or links to any documentation in this regard please?

0 Likes
793 Views
8 Replies
Replies (8)
Message 2 of 9

cadffm
Consultant
Consultant

I doesn't understand your question, but it sounds you didn't understand the 0 1 2 4

0 is just short for acunknownrow, 1 for data, 2 = title, 4 header.

 

It has nothing to do with row numbers, nothing to do with rows..

Each cell can use another row-type., for usual you will use only one type per row,

but it is also possible to use another type for each cell in one row.

 

In first line it is only a format-style, nothing more.

 

So if i miss your question: What is your question?

Sebastian

0 Likes
Message 3 of 9

_Bilal
Advocate
Advocate

Thank you for your reply,

The shortcode for acRowType is not actually my question,

But as I understand from your reply, that the acUnkownRow is a row where the cells inside are with a different type either title, data, or header type? is that right?

0 Likes
Message 4 of 9

dlanorh
Advisor
Advisor
You can, if you are so inclined, create your own RowTypes. These will always show up as an acUnknownRow as they are NOT a standard row type (title, header or data)

I am not one of the robots you're looking for

0 Likes
Message 5 of 9

_Bilal
Advocate
Advocate

I add a simple table in the drawing consisting of 4 rows and 3 columns

1- Row 0 is a Title row type

2-Row 1 is a header row type

2-Row 3 has multiple cells types   (cell 3 0) = datatype      (cell 3 1) = headertype  and (cell  3 2)= titletype

So, Row 3 is an acUnknownRow

 

when I apply  (vla-SetTextHeight objtable actitleRow 200.0)------>Nothing happens on Row 3
while (vla-SetTextHeight objtable actitleRow 200.0)---->Return a text of height 200.0 on Row 0

This give a one indication that the Row 3 is not an UnknownRow!!

0 Likes
Message 6 of 9

_Bilal
Advocate
Advocate

sorry a mistake happens in my previous post, her is the correct one

when I apply  (vla-SetTextHeight objtable acUnknownRow 200.0)------>Nothing happens on Row 3
while (vla-SetTextHeight objtable actitleRow 200.0)---->Return a text of height 200.0 on Row 0

This give a one indication that the Row 3 is not an UnknownRow!!

0 Likes
Message 7 of 9

cadffm
Consultant
Consultant

Just for a short Sorry from my side.

My  english is very bad and i wrote with my mobile far away from Acad.

It was not written well.

I need time to answer better.

 

See the post from the other one,

this should be the right direction.

Sebastian

0 Likes
Message 8 of 9

dlanorh
Advisor
Advisor

It is an "UnknownRow" as it contains 3 cells with 3 different cell types. Therefore you cannot use a row method as each cell in the row has a different type; so you must set the text height of each cell individually.

I am not one of the robots you're looking for

0 Likes
Message 9 of 9

_Bilal
Advocate
Advocate

You can, if you are so inclined, create your own RowTypes. These will always show up as an acUnknownRow as they are NOT a standard row type (title, header or data).

 

Sorry for delay,

Could you please give me the snippet code on how to add to the object table such kind of row?

0 Likes