My client keeps accidentally shutting down Servoy Client when he really just wants to close a print preview. The close button on the Print Preview could really be more prominent or standardized… but in the meantime, can I prevent a quit in a close method?
Hi Ellen,
In the method you attach to the on Close event (Solution Settings) you simply let it return false.
Of course this also gets triggered when you want to load another solution (and thus unload the current one) or do a normal quit.
Hope this helps.
Worked perfectly! Thanks!