Page 1 of 1

Name of controls

Posted: 19 Jan 2009, 23:06
by AnnaS
I find it very difficult that you named your controls same as the standard VB controls.
I know it would be a big change to alter them, but maybe it's better to do it now than to do it later...
At least I am struggeling a lot with it because I never know which control I'm dealing with.

Thank you.

Re: Name of controls

Posted: 20 Jan 2009, 09:45
by TiKu
This would break compatibility, so no chance.

Re: Name of controls

Posted: 20 Jan 2009, 12:27
by AnnaS
There are good and free OCX renamers.
But... why did you give them the same names in the first place?

Re: Name of controls

Posted: 20 Jan 2009, 15:51
by TiKu
Because I don't see it as a problem such big that it would justify worse control names.
In which places can you mix up my controls with the standard ones?
1) In the property grid. Since my controls have different properties, it's not that difficult to tell which control is standard and which one isn't.
2) In the object browser. There's a combobox with which you can filter the displayed objects by the library containing them.
3) In the source code when defining new object variables (Dim btn As OptionButton). You can use BtnCtlsLibUCtl.OptionButton instead.