QT: how do I determine the topleft of a field within a moveble group?
Mark Smith
lists at futilism.com
Tue Sep 9 13:47:12 EDT 2008
William, In your resize handler, can you not just get the field's
current topleft, and use that?
Best,
Mark
On 9 Sep 2008, at 18:41, William de Smet wrote:
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list