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

Click here to load this message in the networking platform