Valuelists with limited scope

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

Valuelists with limited scope

Postby ronm » Wed May 26, 2010 8:01 pm

Servoy now has global variables as well as form variables. It would be nice to have global valuelists as well as form valuelists.

In very complex applications, valuelists are used to limit the user's inputs to a specific set of values however across the application, the number of valuelist can get quite large.

Simply using valuelist1, valuelist2, etc. and reusing the valuelist as one traverses the various forms saves computer memory but damages the human memory :wink:

Having a valuelist whose scope is limited to the form allows the values list to be refreshed by the onShow or onRecordSelection methods and saves memory as memory should only be consumed while the form is shown and not hidden.
ronm
 
Posts: 10
Joined: Mon Feb 08, 2010 11:28 pm

Re: Valuelists with limited scope

Postby jcompagner » Thu May 27, 2010 4:31 pm

so what you want is 1 valuelist definition and that one is used on multiply forms but the valuelist has different values and dont interact with each other over the different forms?
So thats multiply instances of the same valuelist definition? How would you target such a thing to load your values?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8212
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests

cron