Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on form's caption
Message
 
À
20/04/2004 01:48:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00896368
Message ID:
00896374
Vues:
20
Every time when the form got focus the caption will change
You putted the following cod in Activate method of the form right?
thisform.caption=thisform.caption+"-"+nusername 
so when the the form got focus for the second time the caption will be :caption+caption+"-"+nusername+"-"+nusername
etc..

Do You allow user change during the form run? If so, in Activate method put:
thisform.Caption = "MyFormCaption - "+nusername
If no, You can put your code in Init method of the form.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform