Zitat:
exit; // use exit if you want to cancel maximize
TWmSysCommand has a result that should be set accordingly.
and from within a form method, NEVER use the global form variable!!!!
thank you - can you please advise on below.
is there a way to show restore button after the form has been expanded to cover the screen?
Is there a way to preven the form not to get expanded beyond task bar area? Currently the form gets expanded and goes under taskbar causing some of the elements to be hidden..