Ying8292
September 4th, 2001, 07:31 PM
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
Thanks for help
|
Click to See Complete Forum and Search --> : How can program know if a control is enabled or not in VB? Ying8292 September 4th, 2001, 07:31 PM 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 srinika September 5th, 2001, 12:19 AM (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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |