Page 1 of 1

PostPosted: Thu Sep 19, 2002 9:41 pm
by design4use
Hi:
Is it possible to limit the scope of a function to a form?
What I am thinking is having resusable forms, where some methods can have the same name as methods on other forms, and widgets could call functions of the forms they are on.
(Somebody tell me I am approaching this the wrong way...).

PostPosted: Mon Sep 23, 2002 3:44 am
by dewey
The way that this is currently supported is through custom gadget events. Your gadget defines an event such as "ondrag". Each instance of the gadget (on the different forms) would handle the event as appropriate.