PDA

Click to See Complete Forum and Search --> : Getting the list of properties of a class


Forest Dragon
Jan 13th, 2000, 08:08 PM
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!!!

Inhumanoid
Jan 13th, 2000, 08:35 PM
Press F2.... NOW (while in VB)!!! :)

Forest Dragon
Jan 13th, 2000, 08:52 PM
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?