Viktoras Didziulis wrote:
Hi, does this mean that it is not possible to create a standalone with a data
driven menu ? Like creating a menu from tab delimited file with item names
and links to external files that are being constantly updated... Is there
any workaround like using htmlText property with hyperlinks within text
field, etc..? Best wishes Viktoras

Hi Viktoras,

If I understand you right, then I would say that there is no problem, you just need to approach the design in the right way. In the application I maintain, most of the menus are constructed at startup from external configuration files, or by testing the contents of its plugins folder etc..

Since a menu is really a button, you can change its contents (i.e. the menu items) as you like. Of course its script must know what to do with the menu items when they are chosen. I deal with this by writing the scripts so they refer to external data (which can be updated of course) in order to find out what to do.

For instance, in the case of my plugins menu, I read the contents of the plugins folder at startup, turn the stack names into a menu, and store the filenames of the stacks in a custom property. The menu script opens a plugin stack by looking up the filename associated with the selected menu item. The script is therefore generalised and doesn't need to change, since it is the data that tells it what to do exactly.

Hope this helped...

Martin Baxter

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to