Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid checkbox controlsource
Message
De
31/10/2003 19:16:02
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
31/10/2003 05:10:05
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00844814
Message ID:
00845285
Vues:
27
Hi Arnold!

>If the controlsource is an expression.The column was became readonly and can't write to it's controlsource - table.myfield
>Any idea ?

Other idea is create other field in your cursor (type Logical) like above and use it in your grid, e.g.:
* Supose that your get your datas with SQL Statement and save them in Cursor.
Select *, Iif(FieldChar == "X", .T., .F.) as NewField From MyTable

* In CheckBox's Valid metod put this
If this.Value
   Replace FieldChar With "X"
Else
   Replace FieldChar With ""
EndIf
I hope this help you.
Bye!
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform