Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables in Forms
Message
From
02/04/2000 15:24:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Variables in Forms
Miscellaneous
Thread ID:
00354056
Message ID:
00354056
Views:
53
Let's say I have some variables and they are created in a Load event of the form. For example:
today = date()

I display then this variable as a textbox with .controlsource property set to variable name on my form and everything seems to be fine, but there's a little problem that I don't understand. First time the form runs there's an empty textbox, but the second time everything is OK - the textbox contains what in variable was. So I put the variable "today" out of my form and just before i run the "do form Myform" I blank my variable (today="") and the program works fine all the time.

But I wonder Why? How could it be done (in what event or method) that I can create my local variables inside my form as it was in FP 2.6 times?

Thank's Zlatko.
Next
Reply
Map
View

Click here to load this message in the networking platform