Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Type Property
Message
 
To
16/04/2001 07:16:01
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00495625
Message ID:
00495724
Views:
20
>>>How is it possible to expose an object type property on the active-x control property window such as DATASOURCE property.
>>
>>From the Tools menu, open «Procedures Attributes». Select one of the property you want to be databound. Click the Advanced button. Click at least on «property is databound» and «This property binds to datafield».
>
>This works fine.
>I have another case where the active-x user must enter in the ChildFormName property the form name to be called, and as you know the form is an object which means that I can't issue ChildFormName.Show command.
>Any workaround??

You can use the Forms collection:
Private Sub Command1_Click()
Dim x As Form

    Set x = Forms.Add("form2")
    x.Show
End Sub
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform