Kind of a newbie question, but my brain isn't working very well right now. I've got the following code in the Click event of a command button on a toolbar:
This has worked fine up until now when the form "clients" has been modal. But having recently changed the form to modeless, the third line of code gets executed immediately, and the toolbar gets re-enabled. How to prevent this? A READ EVENTS is in effect.
Thanks!!!
Jim
Code:
THIS.PARENT.disablethetoolbar
DO FORM clients
THIS.PARENT.enablethetoolbar
This has worked fine up until now when the form "clients" has been modal. But having recently changed the form to modeless, the third line of code gets executed immediately, and the toolbar gets re-enabled. How to prevent this? A READ EVENTS is in effect.
Thanks!!!
Jim