Results 1 to 2 of 2

Thread: Need help with Combobox Style prop.

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    8

    Question Need help with Combobox Style prop.

    Hello All!

    I would like to make a new ActiveX control from the original Combobox control. I'd like to expose the Style property of the original Combobox, but it always failed with the following in the "property let" method: Property can't be set on this control!

    Why, and how can I solve it?

    Thx.

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Well, VB has a problem. Whenever you make a usercontrol, the stuff on there (your combobox for example) is stuck as if it were on a running form.

    You have no choice but to have three combos, one for each style, and flip which one is visible when the user sets the property. Not fun, but its the only way to make it work.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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