Results 1 to 4 of 4

Thread: UserControl, CommandButton & Label ...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    31

    UserControl, CommandButton & Label ...

    I am designing an ActiveX UserControl which is simply a Label over a CommandButton (this way I can change the Forecolor property of my buttons). Everything is working just fine except that I can't get the Label to appear over the CommandButton, it is always hidden underneath it. In fact the problem doesn't come from the ActiveX technology, just try to put a Label over a CommandButton in a simple project and it won't work.

    An helping hand would be appreciated.

  2. #2
    Addicted Member JRSofty's Avatar
    Join Date
    Jan 2004
    Location
    Somewhere in Germany
    Posts
    149
    Use the Zorder property to bring the label to the front.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    31
    I did use the ZOrder, but it just doesn't work

  4. #4
    Addicted Member JRSofty's Avatar
    Join Date
    Jan 2004
    Location
    Somewhere in Germany
    Posts
    149
    If the only thing you want to do is change the forecolor of the commandbutton control then take a look here:

    Color Change Controls

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width