Results 1 to 5 of 5

Thread: Active X Back Color

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    62

    Active X Back Color

    I doing a active x component in visual studio 6
    in my component I have 2 shape box that I want that recive the same color of the frame that they will be put in

    Thank a lot

  2. #2
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Active X Back Color

    have you tried setting the shape's

    BackStyle = 0 - Transparent

    in you design time of the activex project
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Active X Back Color

    You would probably have to expose some Public members on your UserControl, and then the Frame they are put in must use those member to Set the data.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    58

    Re: Active X Back Color

    Would it be easier to use usercontrol.ambient.backcolor property?

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    62

    Re: Active X Back Color

    Quote Originally Posted by madsun
    Would it be easier to use usercontrol.ambient.backcolor property?
    Thank madsun I will try it

    yo250

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