I need to get the current state(Enabled or disabled) of a control through program. I am wondering how to do that?
Thanks for help
Printable View
I need to get the current state(Enabled or disabled) of a control through program. I am wondering how to do that?
Thanks for help
(Assume the Control name is cnt)
code is: cnt.Enabled
eg.
if cnt.Enabled then
MsgBox "the control is Enabled"
else
MsgBox "the control is Disabled"
end if
Too simple , isn't it?
Srinika