Re: Trigger resizeControl?

2007-06-22 Thread Eric Chatonet
Hi Richard, I love your precision sense ;-) And you are right: I did not answered the question Scott asked. Nevertheless knowing all these messages that can be automatically sent to any stack by just setting a custom property appropriately stays unknown and valuable for stacks running in the

Re: Trigger resizeControl?

2007-06-22 Thread David Bovill
No unfortunately. The way I do this is to: set the view_Rect of someControl to someRect You can then place these scripts in the front script: setprop view_Rect someRect put the long id of the target into targetObject put the rect of targetObject into someRect trigger_FrontScriptResize some

Re: Trigger resizeControl?

2007-06-22 Thread Richard Gaskin
Eric Chatonet wrote: Assuming that this is done with the pointer tool: just set the cRevLoadInfo["revResizeControl"] of your stack to true. I's a trick normally reserved for plugins but it works with any stack. Then the engine will send a revResizeControl to you. Just change the name of your resi

Re: Trigger resizeControl?

2007-06-22 Thread Eric Chatonet
Hi Scott, Assuming that this is done with the pointer tool: just set the cRevLoadInfo["revResizeControl"] of your stack to true. I's a trick normally reserved for plugins but it works with any stack. Then the engine will send a revResizeControl to you. Just change the name of your resizeControl h

Trigger resizeControl?

2007-06-22 Thread Scott Rossi
Hello List: I have a frontscript with a resizeControl handler that does stuff when a control is resized with the mouse. Can I trigger this handler when changing the dimensions of a control via script, for example: set the width of btn 1 to 200 When I run this from the message box, the resizeCo