I understand the current version of Servoy does not support modification of menus (beyond replacing an existing action with a customized method).
I’d like to be able to go well beyond that – to add and remove commands, add and remove whole menus. And do so according to the context of the current form.
If the current form is an invoice then I want only certain forms to appear in the Windows menu, add an “Invoice” menu to the menu bar, add additional commands to other menus, and the like.
For branding purposes, I’d like to have my own splash screen (although I have no problem with the splash saying something to the effect of “running under Servoy”. The splash screen should be able to hold some clickable URLs, serial numbers, etc. from the solution.
VERY IMPORTANT! Disable the close window button. The current action in Servoy is to quit the application. At the very least the user should be prompted on whether that is really their intention. In all other apps the close button just closes the window but leaves the app running.
1> you can override it.. just attach a method to the closeSolution preference in the solution preferences dialog. And then method can return false if it can’t close the program.
2> which programs are still running if you press the button???
ALL my programs are closed when i do that. That is what it does..
what splashscreen do you mean?
The startup page in the browser? that one can be changed.
Then go to the “Solution Settings” option under the File pulldown and set that method as your “On open method”. Add buttons, urls, moving graphics, whatever you want.
Can I make a flash window stay for a few seconds and dissappears after some time? There will be no buttons in the flash window. Also clicking on the form make it disappear instantly.