Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cell in grid RO/RW
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00945766
Message ID:
00945767
Vues:
16
Hi Peter,

Did you try to manipulate column.ReadOnly instead? You may use one of the other Dynamic... properties to run the code that changes the column.ReadOnly property.

>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.)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform