Hi!
I´m having trouble with OnExecute event of TAction. In certain point of my code I assign no response to OnExecute event of open New MDI Document standard action to get associated VCLs (in my case menu item and toolbar button) disabled. So far everything all right but when I perform a new assignation to set the OnExecute event to point a particular handler procedure the associated VCLs remain disabled when they should look enabled back.
Any idea to solve the mistery?
Thanks!
I´m having trouble with OnExecute event of TAction. In certain point of my code I assign no response to OnExecute event of open New MDI Document standard action to get associated VCLs (in my case menu item and toolbar button) disabled. So far everything all right but when I perform a new assignation to set the OnExecute event to point a particular handler procedure the associated VCLs remain disabled when they should look enabled back.
Any idea to solve the mistery?
Thanks!