Results 1 to 4 of 4

Thread: ActiveX User control properties @ design time

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Gloucestershire, England
    Posts
    301

    Unhappy

    How do I give the user a drop to menu (similar to the apperance, 3d or flat?) property for my own usercontrol. Ie when a user is using it at design time I want to present them with a drop to box of options to select in the properties box. Any ideas?

    Cheers

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I think you need property get/let,
    look here: http://www.vb-world.net/articles/controls4/index2.html for more info
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Gloucestershire, England
    Posts
    301
    Thank Jop, I realise how to use get and let, but this does`nt show the user what settings are available at design time. E.G If my control have borders I want to give them 3 opions 0- None, 1 - 2d Flat, 3- 3D. I want these appear in the "properties" window in Vb. Any ideas?

    Cheers

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I'm sorry but I think you can make those things with the property let and get too, not sure tho...
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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