|
-
Jul 16th, 2023, 07:22 PM
#1
Thread Starter
Frenzied Member
[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.
-
Jul 16th, 2023, 08:01 PM
#2
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.
-
Jul 16th, 2023, 09:08 PM
#3
Thread Starter
Frenzied Member
Re: How to get the default value of a control-property from the TLBINF32.DLL?
 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.
-
Jul 16th, 2023, 09:46 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|