Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set bar of ... is working
Message
From
16/12/1997 12:49:22
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066261
Message ID:
00066297
Views:
32
>>Thanks George.. Your example helped me
>>and now it works. I have two bars that
>>will be using the check mark. How do I
>>test to see if there is a check on bar 1 or 2?
>>If bar 1 or bar 2 is checked, I will call a function.
>>thanks rob
>
>Rob,
>
>Since a global object or variable is required, anything along the lines of
>
>IF gOWhatever.Mark1 OR gOWhatever.Mark2
>* Call the function
>ENDIF
>
>Or use an array with:
>
>IF ASCAN(a_marks, .T.) # 0
>* Call the function
>ENDIF
>
>Should work fine.
>
>However, I would call such a routine only after the call to change the state of the variable. In this way the variable always represents the most recent status.
>
>George
So, what your are saying is, if I use two menu options that
need to be checked or unchecked, I should use two globals. Right?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform