Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box needs two clicks
Message
 
 
À
25/04/2001 17:28:57
Ray Keys-Bramlett
Custom Business Applications
Fresno, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00499871
Message ID:
00499954
Vues:
18
>I have a check box with a logical field as the control source,(family.pri1). The first time you click it, there is no visible change. The second time you click it, it will toggle the field.
>
>I want a single click to change the value of the control source. I have been able to make it work by removing the control source and adding the following code
>
>INIT:
> this.value=family.pri
>
>WHEN:
>
> this.value=family.pri
>
>VALID:
> replace family.pri1 with !family.pri1
> this.value=family.pri1
>
>This does not seem like the right way to do it. Any ideas why just using the control source is not working with a single click?

Ray,

In addition to Mark's response, see, if this info applies to your situation: Forum: Visual FoxPro Category: Troubleshooting Title: Re: Checkbox is not working properly Thread #493100 Message #493133
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform