Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Matching Height of 2 independent cells

Avatar

27-03-2009

Hi All,



I have been wracking my brains out for a couple of days trying to figure this out. I have two separate cells, each in their own tables, which I need to match the height. Both of the cells are Multiline cells that Expand to fit. I know I cannot use the TextField1.h = Textfield2.h since the true value is set to 0 but there has got to be another way. I have considered counting the carriage returns in one then add the same number to the other but when the words wrap; they do not create a carriage return. I have also considered counting the number of lines in one cell and adding the same number of carriage returns to the other but I cannot find a way to get the number of lines.



Has anybody ever tried doing something similar? I am afraid that I will not have any hair left by the end of this weekend.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

30-03-2009

I have a sample that does this ...post your email address and I will send it to you.

Avatar

30-03-2009

Hi Paul,



Thank you very much. That would be very helpful. You can email me at aruiz*at*appliedmedical*dot*com



I look forward to your email.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

30-03-2009

Just sent it

Avatar

Avatar
Level 1
Songvit
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Songvit
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
Songvit
Level 1

25-08-2009

hi,

I have this problem too, please send sample for me solve this problem too.

sample: i have 3 fields, i can expanded of fields (textfield) but when i remove valueable in 2nd field (max height than other fields). in 1st, 3rd are not drop (decrease).

thank you

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

25-08-2009

Here is a sample that will resize the row based on the description field. The code is behind the layout Ready event of each cell (other than description). I also included a sample data file.

Paul