![]() |
There must be some VB devs out there...
how do I extract the methods and properties of an object at runtime? ...like in the IDE when you type text1. and a popup list pops up! |
Are you trying to get a list of all properties and methods that object supports?
Chris. |
yes, but without having to use a 3rd party DLL to read them for me.
it all seems a bit messy so far! |
Fosters,
I don't think that you can to this directly within VB6. Maybe worth having a look at the VB7 beta as you should be able to do it with that. Cheers Richard |
Erm, I'm no VB guru, but can't you enumerate the Properties Collection of the control in question?
You should be able to say.. For x = 1 to mycontrol.properties.Count {Do something here} Msgbox mycontrol.properities.property Next x Cheers, Chris (Who has only worked in VBA recently!) |
Use TBLINF32.DLL, if anyone's vaguely interested!
|
All times are GMT +1. The time now is 10:03 PM. |
© 2024 MH Sub I, LLC dba Internet Brands