Results 1 to 7 of 7

Thread: Difficult ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217
    Alright anyone notice that in VB when you type say text1. it creates a list of properties you can choose(you better had )? How can I mimic that? Api maybe?
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Are you making an active X control (OCX?) and want to display it or do you want to display it in your program for the users?
    Jop - validweb.nl

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

  3. #3
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    If memory serves, that's what's called an enumeration. Karl Moore has done a little writeup of this in his Article: ActiveX Control Tutorial. Here is the exact page he describes how to set up an enumeration:
    http://www.vb-world.net/articles/controls2/index3.html

    And here is the enumeration:
    Code:
    Public Enum CharacterType
        All 
        Numbers 
        Letters 
    End Enum
    Check out his articles, you'll get a lot out of them (I did).
    -Excalibur

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217

    hmm

    I just want to add that list to my projects, control or otherwise
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217

    You dont understand

    I meant I want to mimic the drop down box that lets you select the properties in VB code editor
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  6. #6
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    I guess I'm still confused.

    Do you mean you want to write something that will allow a person who's using an IDE that you've developed to see this? Like in a textbox or richtextbox? Or do you want to set up your own modules/classes/activex controls that do this?
    -Excalibur

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217

    ill act dumb

    Okay you know how vb will make that dialog to fill in the properties? The little drop down list when you type object names? I just want to do something like that
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

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