Results 1 to 4 of 4

Thread: [RESOLVED] How to get the default value of a control-property from the TLBINF32.DLL?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,844

    Resolved [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.

  2. #2
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    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.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,844

    Re: How to get the default value of a control-property from the TLBINF32.DLL?

    Quote Originally Posted by xiaoyao View Post
    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.

  4. #4
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    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
  •  



Click Here to Expand Forum to Full Width