|
Post by Michael Sync on Feb 1, 2006 22:00:43 GMT -5
Is it possible to get the default init code of a control by using TypeLib?
Suppose: If I put one TextBox onto the form then I get this coding as default. Begin VB.TextBox Text1 Height = 495 Left = 1740 TabIndex = 1 Text = "Text1" Top = 1305 Width = 1215 End
Actually, I'm creating one program that can be generated the form with a particular control.In that program, a User can specify the ocx that is wanted to put onto the form and then, Click "Generate" button to generate one form with desired control.
Any help would be appreciated. Thanks in advance.
|
|
|
Post by Kelly Ethridge on Feb 2, 2006 0:33:09 GMT -5
It must be possible because MZTools lets you set the default size for controls when they are first put on the form (If you double-click the control in the ToolBox). You might want to ask those guys about it.
|
|
|
Post by Michael Sync on Feb 2, 2006 1:11:13 GMT -5
Thank you.
|
|
|
Post by Michael Sync on Feb 2, 2006 23:17:34 GMT -5
I have talked with Carlos, a developer of MZTools. He was using the extensibility of Visual Basic 6.0. But I don't want to create Add-In. I only like to create an external program that can be generate .frm with control.
|
|