Greetings--
I want to prevent users from closing or minimizing forms. I have succesfully done this on all forms except the main paradox window using this code placed at the form level:
method menuAction(var eventInfo MenuEvent)
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
else
;// This code executes only for the form
if not eventInfo.isPreFilter()then
if eventInfo.id() = menuControlClose then
disabledefault
endIf
if eventInfo.id()= menucontrolMinimize then
disabledefault
endif
if eventInfo.id()= menucontrolRestore then
disabledefault
endif
endif
endIf
endMethod
Is there a way to disable the menucontrols on the main Paradox screen? My intent is to force the user to close certain forms before they are allowed to close Paradox.
Thanks
I want to prevent users from closing or minimizing forms. I have succesfully done this on all forms except the main paradox window using this code placed at the form level:
method menuAction(var eventInfo MenuEvent)
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
else
;// This code executes only for the form
if not eventInfo.isPreFilter()then
if eventInfo.id() = menuControlClose then
disabledefault
endIf
if eventInfo.id()= menucontrolMinimize then
disabledefault
endif
if eventInfo.id()= menucontrolRestore then
disabledefault
endif
endif
endIf
endMethod
Is there a way to disable the menucontrols on the main Paradox screen? My intent is to force the user to close certain forms before they are allowed to close Paradox.
Thanks