Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to Object
Message
 
À
14/07/2003 17:26:47
Tom Pickel
Corporate Technology Group
Arlington, Texas, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00805187
Message ID:
00810049
Vues:
19
You need to use the Forms collection. See http://www.vb-helper.com/howto_display_form_by_name.html


>you are leaving out the textbox control label
>
>form1 is the form name
>.text1 is the textbox control label
>.text is the value within the texbox
>
>
>try this
>
>text1 = the name of your textbox control
>
>
>
>Private Sub Button1_Click()
>OpenForm (trim(txtFormName.TEXT1.text))
>End Sub
>
>Private Function OpenForm(lcFormName)'its not necessary for the AS OBJECT statement
>lcFormName.SHOW
>End Function
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform