Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private variables for use in a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00226017
Message ID:
00226023
Views:
32
Well, Its now old to use private varibles in our forms. Create form's property and use it anywhere in the form.

The answer of your question :

Define them in the Load() not in Init()


>I have a form with some memory variables that I only need while the form is in use. In the init method, I set them all to .f. since they are for check boxes. The form runs fine, but then when I do a comparison with one of the variables, I get datatype mismatch, and in the debugger I see the value of the variable is 1, not .t. What's up with that? Thanks! Marvin
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform