2013/2/20 Tiemo Hollmann TB <[email protected]> > Hi Thierry, > yes, but thats the same as with the minWidth.
Sorry it doen't work. > You can't set/change these > properties, while the user is resizing the window (holding down the mouse). > The change will be made, after the user releases the mouse and that’s too > late. What I need is to break/stop the resizing at a certain point (where > my > objects overlap). > Umm, some thoughts... Can't you know (calculate) before the user resize your stack, the min acceptable ? or I certainly miss something... My first thought was just not to pass the resizeStack message when the size > gets too small, but that doesn't work either. Obviosly the resizing of the > window happens before the message resizeStack. > No, this doesn't work. Even written in the dictionary. Thierry Thanks > Tiemo > > > > -----Ursprüngliche Nachricht----- > > Von: use-livecode [mailto:[email protected]] Im > Auftrag > > von Thierry Douez > > Gesendet: Mittwoch, 20. Februar 2013 10:58 > > An: How to use LiveCode > > Betreff: Re: How to set the minWidth dynamically? > > > > Hi Tiemo, > > > > Are you aware you can set the min and max of your stack with the > inspector > > ( size and position tab) and certainly by script too? > > > > This should resolve your problem. > > > > HTH, > > > > Thierry > > > > > > 2013/2/20 Tiemo Hollmann TB <[email protected]> > > > > > Hi, > > > > > > I have a resizable stack with resizable objects (fields with variable > > > textsize). > > > > > > When the objects are smaller, the stack may be resized to a smaller > > > size, as if they are bigger, so that they don't overlap. I have the > > > flag, when to stop making the stack smaller, but I tried different > > > approaches stopping resizing dynamically without success. > > > > > > Setting the "resizable of stack" to false if the stack gets too small > > > can't work, because you can't set it back again to true because the > > > user can't make it larger anymore. Manipulation the minWidth > > > /minHeight of the stack doesn't work, because while resizing with > > > mousedown you can't change the dimension properties of the stack. The > > > are changed, when the user releases the mouse. > > > > > > Where is my fault? Which is the right approach? > > > > > > Thanks > > > > > > Tiemo > > > > > > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > [email protected] > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
