QT: how do I determine the topleft of a field within a moveble group?

William de Smet williamdesmet at gmail.com
Tue Sep 9 13:41:02 EDT 2008


Hi there all,
I have a moveable group in which a field will be resized based upon its
input.
So far so good: I use the formattedwidth and formattedheight to change the
fieldsize.
Of course I set the topleft of the field so it remains at its location.
But because the group is moveable everytime the field has new input it is
set back to its set topleft.

What I want is that it stays in its position in the group after new input.

I need to know how to store its position (topleft?) in the group.
I hope I made myself clear.

Can anyone advise or help me?

Greetings,

William



More information about the use-livecode mailing list