How To Send resizeControl?
J. Landman Gay
jacque at hyperactivesw.com
Fri Jun 1 15:18:18 EDT 2007
Scott Rossi wrote:
> Hi List:
>
> I have a frontscript that contains a custom resizeControl handler. How do I
> call this handler from a script?
>
> I want to use a script to set the dimensions of a control, and then call
> resizeControl. If I send resizeControl to the object being resized, I get
> "can't find handler". If I just call resizeControl, I get the same.
>
> Is it possible to trigger resizeControl from a script?
It should be. I have a couple things like that in a frontscript, and
when I type the handler name into the message box they run. You should
be able to just use "resizeControl" (no "send"). I'm not sure why it
isn't working for you. Does it work from the message box?
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list