Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vs. Public variables
Message
From
31/12/2000 13:55:22
 
 
To
31/12/2000 11:51:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00458199
Message ID:
00458219
Views:
18
>Hi,
>
>First of all, I want to say how helpful this site has been for me. I am an old time FoxPro 2.6 developer struggling through
>my first Visual FoxPro application. Thanks so much to everyone who has taken the time to share their knowledge
>and answer questions.
>
>I have a two page form with a series of memory variable check boxes on both pages, not associated with a table.
>All of the variables on the first page are Public, which is what I want. However all of the variables on the second
>page are Private. I don't understand why.
>
>Thanks in advance for your help.
>
>Fred E. Beaulieu

You should probably be using Form properties for what you are trying to do. Form properties are available throughout the form's lifetime, and can be references from outside the form by gaining an object reference to the form. To create a form property, in the form designer, under the Form menu, choose add Property. Then you can set the controlsource for your checkboxes to "THISFORM.MyProperty".
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform