[RESOLVED] How to get the default value of a control-property from the TLBINF32.DLL?
I'm working on my own FormDesigner. In my PropertyGrid, all the property information for a control comes from VB6-ObjectBrowser (actually from TLBINF32.DLL).
So, how do I get the default value of a control-property? For example, the default value of the property Enable is True. Thanks.
Re: How to get the default value of a control-property from the TLBINF32.DLL?
YOU CAN ADD A control(like ocx),and read item value.
Re: How to get the default value of a control-property from the TLBINF32.DLL?
Quote:
Originally Posted by
xiaoyao
YOU CAN ADD A control(like ocx),and read item value.
It's a very clever approach, thank you very much, xiaoyao.
This should solve the default value problem for most control-properties, except for the Visible property.
Re: [RESOLVED] How to get the default value of a control-property from the TLBINF32.D
I have always wanted to develop something similar to VB7. It is to make an ADD IN plug-in for VB6, change the menu and toolbox completely, and keep the code editor and compilation function. You'll be successful, expect more features to be open sourced.