Results 1 to 2 of 2

Thread: Extending The ListBox

  1. #1
    spetnik
    Guest
    I am creating an Active-X control which extends the VB ListBox control. I have mapped all the properties via the Active-X Control Wizard. However, I want the "List" property to show up in the "Properties" window (with a dropdown) as it does by the VB Listbox, and it doesn't. Also, how do I keep the "ListIndex" property from appearing in the properties window?

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Lightbulb Run-Time Properties

    I don't know about the list property but I can tell you about hidden and run-time properties:

    If you go to the 'Procedure Attributes' window (from the Tools menu) and select the property you require (such as 'ListIndex') and then click the 'Advanced >>>' button.

    Checking 'Don't show in Property Browser' will remove the property from the design time property's window but still enable the user to use it in code.
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

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