Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling/Disabling controls in a grid
Message
From
28/03/2011 12:28:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135083
Message ID:
01505229
Views:
55
>>
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform