Disable toolbar image in vb6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vaniKanabathy
    New Member
    • Mar 2008
    • 52

    #1

    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.Button s(3).Enabled = False
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    that should work for you.

    try doing the same using the property pallet of the control for the particular cutton.

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      Hi,

      Yes,
      Toolbar1.Button s(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

      Comment

      • vaniKanabathy
        New Member
        • Mar 2008
        • 52

        #4
        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....witho ut do any action....still it not greyed...so how come it can be enabled? Is there any additional codes i must put?

        Comment

        Working...