Results 1 to 3 of 3

Thread: Property browse

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    17

    Property browse

    Hello.

    In my usercontrol I am trying to create an editable list property like the 'List' property found in the ComboBox and ListBox controls. This property would display an editable list in the Properties window during design-time.

    I have found a reference to the solution to this problem on a newsgroup. Unfortunately the reference was to a site that may be defunct-- vbaccelerator.com.

    The individual who owns the original code is Paul Wilde. However, I have tried and failed to get ahold of him.

    If anyone knows the status of vbaccelerator.com or the contact information of Paul Wilde, please let me know. And, of course, if you know the answer to my question, I'd be grateful as well.

    thanks,

  2. #2
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    You could try it with adding your enumerator.

    VB Code:
    1. Public Enum Clipcontrols
    2.      True = 1
    3.      False = 0
    4. End Enum
    5.  
    6. Public Enum MousePointer
    7.     Default =0
    8.     Arrow = 1
    9.     ..
    10. End Enum
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    17
    swatty,

    Enumerated constants are not editable.

    Try using the 'List' property of the ComboBox and ListBox controls during design-time to see what I am talking about.

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