Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabling/Disabling controls in a grid
Message
De
28/03/2011 12:28:02
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01135083
Message ID:
01505229
Vues:
56
>>
nodefault
>>replace table.lField with not table.lfield
>>this.value=table.lfield
>>
>>Another trick is to have this.value=this.value somewhere in checkbox's code (click, refresh, interactivechange, valid...), which somehow forces the writing of its value into its controlsource.
>>
>>Try these tricks one by one, some of it should work.
>>
>>Obviously, last time I had a problem like this, I tried several and now can't remember which worked and where was it :).
>
>Are you suggesting DynamicCurrentControl as the best solution? I wanted to avoid using 2 controls. Thanks in advance.

It may as well be the easier solution. I've seen weird behaviors with combos in a grid, where the rowsource of the combo was dependent on a listbox, and having one combo for each of the possible values coming from the listbox actually made those problems go away.

I wouldn't be surprised if it worked the same for checkboxes. They seem to have their own quirks in some grids, so maybe the same cure would work.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform