Trigger resizeControl?

Scott Rossi scott at tactilemedia.com
Fri Jun 22 05:51:20 EDT 2007


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 resizeControl handler is not
triggered.  I can add a line of script that sends "resizeControl" to the
object, but I'm wondering if there's a way to automatically generate the
resizeControl message.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list