ForeColor of Command Button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mclueless
    New Member
    • Jan 2008
    • 56

    ForeColor of Command Button

    Is there any way by which i can change the forecolor of a commandbutton in VB6???
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    #2
    Originally posted by mclueless
    Is there any way by which i can change the forecolor of a commandbutton in VB6???
    You need to make your own control...
    There is no option to change forecolor of a button in vb6.

    Regards
    >> ALI <<

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Vb 6 does not support this property.

      You might need to use some third party control.

      Try to use osenxpsuite controls

      Comment

      • FrankCoyle
        New Member
        • Feb 2008
        • 1

        #4
        Easiest way is to use a checkbox with its style set to graphical. Only thing you need to consider is to put your code into the mouseup event (not the click event) and set the checkbox's value to 0 to make it pop up again like a button.

        Comment

        • shuvo2k6
          New Member
          • Jan 2008
          • 68

          #5
          Originally posted by mclueless
          Is there any way by which i can change the forecolor of a commandbutton in VB6???
          hey,
          u can create ActiveX Control for ur need.If u need that code contact with me.

          Regards,
          shuvo2k6

          Comment

          Working...