Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Type Property
Message
 
À
16/04/2001 07:16:01
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00495625
Message ID:
00495724
Vues:
19
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform