Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cell in grid RO/RW
Message
From
24/09/2004 17:06:54
 
 
To
24/09/2004 14:15:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00945766
Message ID:
00945899
Views:
15
>>Hi to all,
>>
>>I have a grid that shows the data of a table. One column shows a logical field. The column has two controls, the traditional textbox (Text1) and a checkbox (Check1). Furthermore Sparse is False. The DynamicCurrentControl is iif( somecondition, 'Text1', 'Check1' ). The textbox is ReadOnly, the checkbox is ReadWrite.
>>
>>The strange thing is that the cells that use the textbox are still ReadWrite. If I put T or F in it, the underlying field in the table will indeed change.
>>
>>Any suggestion? (I know about the When() trick, but am of opinion that it should work as I have built it now.)
>
>
>Try to set Column.Bound = .F.

Did not help. On the contrary, the cells are then no longer in match with the fields.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform