Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on form's caption
Message
De
20/04/2004 04:51:33
 
 
À
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:
00896402
Vues:
12
Evelyn,

How do you load the form?

If
lo_form = createobject(“myform”)
lo_form.visible = .t.
Activate window (lo_form.name)
if not,
do form myform name lo_form
Activate window (lo_form.name)
Hope this help

Manoj

>i want to change my form's caption at run time with the logged username so i do thisform.caption=thisform.caption+"-"+nusername
>
>i tried putting this in the form's activate(), but only after i double-clicked on mygrid will the caption change.
>
>i have a timer in my form that checks the number of records of my table drs, and performs some procedure.
>
>my question is, why does thisform.caption=thisform.caption+"-"+nusername fails? even when i tried putting a button with that code, it does not change my form's caption.
>
>any help?
>
>TIA.
Manoj Karki
manoj0karki@yahoo.com
Nepal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform