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.