Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control is Read Only
Message
De
17/01/2002 15:44:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00606201
Message ID:
00606354
Vues:
25
>Couple of things:
>1) setting Column.Text.ReadOnly doesn't effect the input. You should set Column.ReadOnly property. By default it's .f., so you probably don't need to set it at all

I actually tried both of them and neither of them worked. I knew they were .F. by default, but SOMETHING was making it read-only and I thought I would try forcing the issue.


>2) I've seen the similar behavior in my colleague application. We solved it by using TableName.FieldName as Column ControlSource instead of just FieldName. I don't really know, why does it matter.

That's what happened when I rebuilt the grid. The control source on the Properties sheet now showed the tablename as well.

I went to another copy of the same form and modified my Init method where the control sources were assigned. It worked. For the last attempt, I went back and only put the tablename on two fields. Those two were Read-Write while the others were ReadOnly.

I had gotten it to work but, thanks to your tip it now works much better ..............Rich
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform