Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set bar of ... is working
Message
 
À
16/12/1997 12:21:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00066261
Message ID:
00066294
Vues:
40
>>>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
>>
>>Why check the bar rather than the variable that the bar checks?
>Hi Erik..
>I have two bars sharing one public variable. I need to check if the
>bar is set to true or false. I might be going about this wrong.

Rob,

If the options are different then you need a separate variable for each. Otherwise, when

SHOW MENU ALL

is issued both bars are updated to the same state. This is OK if these are the same option. However, if they are different, there are four different possibilities for their state, and this requires at least two individual variables.

George
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform