|
-
September 4th, 2001, 07:31 PM
#1
How can program know if a control is enabled or not in VB?
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
-
September 5th, 2001, 12:19 AM
#2
Re: How can program know if a control is enabled or not in VB?
(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
If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|