Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading a form through a string variable
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00047342
Message ID:
00048062
Vues:
24
Hi,

I don't think there's anyway to do such a thing. Also I don't think that one needs to do such a thing.

Regards,
Hitesh

>>Hello all,
>>
>>Is there any way to load a form through a string variable that contains the name of the form?
>>
>>I can't be sure that the form is loaded, so the Forms collection doesn't help :-(
>>
>>Thanks in advance for any help.
>
>The only way I can think of is with a Case statement
>
>Select Case sFormName
> Case "frmThis"
> Show.frmThis
> Case "frmThat"
> Show.frmThat
>End Select
>
>not pretty, eh?
President,
Visual Basic Broad-Band Network
http://vbbbn.unixnet.org
http://www.pht.com/vbbbn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform