Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on form's caption
Message
From
20/04/2004 04:51:33
 
 
To
20/04/2004 01:48:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00896368
Message ID:
00896402
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform