SLIDING a control to the bottom automatically

T

teo

I have a Label1.

I populate it with a lot of textual rows (variably amount of rows)
and it increases its height (to the bottom).

Below that Label1
there is a second Label2 that become overlapped,
by the increased Labebl1.

Is it possible to have the Label2
sliding down (=scrolling,moving) accordingly
so to not have it overlapped?

----------------

If it can help:

I noticed that if Label1 is Positon Not Set,
the Label2 slides down and all is OK.

If Label1 is Position Absolute,
the Label2 DOESN'T slide down.

I need Label1 set to Position Absolute (unfortunately)
 
T

teo

You could set Label 2's position as a function of Label 1's position +
height

Mmmh...

The fact is that I'm not able to programmatically
retrieve the height of Label1
(either I write one row only
or a lot of of rows,
Label1.height always returns the same height,
the initial designed one)

Also the Top position (for the Label2) is not supported.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top