468,101 Members | 1,316 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,101 developers. It's quick & easy.

Disable toolbar image in vb6

I had used toolbar to replace button usage in program . I had disable the image button in toolbar but it not displayed in a shaded mode when disabled. How can i do it because i want to differentiate between enable and disable by see the image appearance, not by click the image button in toolbar. Please help me...i need it urgently....I do disble the toolbar image button using the below coding....

Toolbar1.Buttons(3).Enabled = False
Feb 5 '09 #1
3 4232
debasisdas
8,127 Expert 4TB
that should work for you.

try doing the same using the property pallet of the control for the particular cutton.
Feb 5 '09 #2
QVeen72
1,445 Expert 1GB
Hi,

Yes,
Toolbar1.Buttons(5).Enabled = False
should work, Disabled buttons does show Greyed Image..

I Guess, some where in your code, you again are enabling the Button...

Regards
Veena
Feb 8 '09 #3
Thanks fso much for the reply...
No..im not enabling my toolbar image button..i disable the toolbar button when the form loads in the system....without do any action....still it not greyed...so how come it can be enabled? Is there any additional codes i must put?
Feb 9 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Sam Carleton | last post: by
1 post views Thread by Ashvin Navare | last post: by
2 posts views Thread by Andre Ranieri | last post: by
4 posts views Thread by Tom | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.