Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Type Property
Message
De
18/04/2001 00:12:47
 
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00495625
Message ID:
00496539
Vues:
15
>>>You can use the Forms collection:
>>>
Private Sub Command1_Click()
>>>Dim x As Form
>>>
>>>    Set x = Forms.Add("form2")
>>>    x.Show
>>>End Sub
>>
>>This does not work, because ChildFormName property is not an object type property, it only contains the name of the form to be open.
>>In another word, what is the way to expose object type property in property window of active-x control when used by the end-user.
>
>The project that contains the form (the ActiveX control in your case) have to use Forms.Add. Once you get an instance (x of my example), you can pass it to another project.
>

ChildFormName = 'RequestDetail'
Set x = Forms.Add(ChildFormName) will generate an error

>>Concerning the very first question about datasource property, what about if I have two textboxes binded, how is it possible to assign each textbox with the appropriate property name.
>
>When you are in the Procedure Attributes dialog, select the other property in the combo box and check the same checkboxes and the bottom of the dialog.

Ok, but how to map each property to the related textbox.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform