Results 1 to 3 of 3

Thread: Getting the list of properties of a class

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Post

    Hello!!!

    How can I, by using code, get all the properties, methods and events of a specific class module?

    Also, how can I get the constants of a specific enum?

    Thanks!!!

  2. #2
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    Press F2.... NOW (while in VB)!!!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Post

    Actually, what I mean is that I want to use VB code in order to get that, not the Object Browser and other tools like that.

    If you have ever used the UpDown control that comes with VB, you surely know that if you set its BuddyControl property to the name of one of the other controls you have on the same form, you get the list of that control's properties in the BuddyProperty property of the UpDown control and you can choose from this list the property you want.

    How can the UpDown control determine all the properties of a control if it just knows its name?


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