Methods that aid in working with form (and element-) objects

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Methods that aid in working with form (and element-) objects

Postby Willem » Mon Jul 23, 2007 8:53 am

I wrote a bunch of generic methods in which I often pass parameters that point to a form (instead of form name).

The functions getMethodTriggerFormName(), getMethodTriggerElementName(), getTabFormNameAt(), getSelectedTabFormName(), getFormName() and setMainForm() all work with form (or element-) names (whereby the last function suggests something differently).

Now I always have to convert the form name to a form with forms[formname] or forms[formname].elements[elementname] (and the element must be given a name; i'd like to have access to all elements!).

How about these functions without the "Name" part that work with the object itself?
Willem Schouten
Ayton B.V.
Willem
 
Posts: 22
Joined: Tue Sep 28, 2004 9:19 pm
Location: Delft, the Netherlands

Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests

cron