Re: resizeControl wishes...

2023-12-04 Thread Bob Sneidar via use-livecode
Dang! I thought I was learning a new word! Bob S On Nov 30, 2023, at 9:29 AM, ambassador--- via use-livecode wrote: it uses the power of the engine to its most efficient, preditable, and robust advangage to put things exactly where you want them.

Re: resizeControl wishes...

2023-11-30 Thread Paul Dupuis via use-livecode
On 11/30/2023 2:20 PM, Brian Milby via use-livecode wrote: Groups get the message when resize happens by script. Other objects only receive the message when resized by hand. Brian Milby br...@milby7.com Except, the "PowerButton" widget actually receives "resizeControl" just as a group does

Re: resizeControl wishes...

2023-11-30 Thread Brian Milby via use-livecode
Groups get the message when resize happens by script. Other objects only receive the message when resized by hand. Brian Milby br...@milby7.com > On Nov 30, 2023, at 1:51 PM, Paul Dupuis via use-livecode > wrote: > > Thank you Richard. > > I see what the issue for me was. Groups do indeed

Re: resizeControl wishes...

2023-11-30 Thread Paul Dupuis via use-livecode
Thank you Richard. I see what the issue for me was. Groups do indeed receive a resizeControl message automatically if the rect is changed by script. However, the message (resizeControl) use seems inconsistent. For example, while a group does received the resizeControl message, a field does

Re: resizeControl wishes...

2023-11-30 Thread ambassador--- via use-livecode
Craig Newman wrote: > “reSizeControl” is a message. What I mean by that is if you are already > running under script control, why do you need to send such a message at > all? Can’t your handler do whatever you needed to if the user did the > actual resize action? He's asking about resizing that

Re: resizeControl wishes...

2023-11-30 Thread Alex Tweedly via use-livecode
On 30/11/2023 16:05, Paul Dupuis via use-livecode wrote: resizeControl is sent "only sent when the user resizes a control by dragging its handles. It is not sent if a handler changes the size of a control by changing its properties (width, height, and so on)." Basically, that dictionary

Re: resizeControl wishes...

2023-11-30 Thread Craig Newman via use-livecode
Paul. “reSizeControl” is a message. What I mean by that is if you are already running under script control, why do you need to send such a message at all? Can’t your handler do whatever you needed to if the user did the actual resize action? Craig > On Nov 30, 2023, at 11:05 AM, Paul Dupuis