Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable textbox in grid?
Message
De
09/12/2003 12:29:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to disable textbox in grid?
Divers
Thread ID:
00857285
Message ID:
00857285
Vues:
64
I am trying to restrict access to a limited number of controls contained in a grid depending on the state of the containing form. Some of the cnotained columns shouldn't be accessible/modifiable while others should be.

Even though I set the ENABLED property of the column and the textbox to .f., I can still edit the information in the field.


this.Parent.grdpoline.grid.column1.text1.Enabled = .f.
This.Parent.grdpoline.grid.column1.txtinventorylu1.Enabled = .f.
this.Parent.grdpoline.grid.column2.text1.Enabled = .f.
this.Parent.grdpoline.grid.column3.txtQtyOrd.Enabled = .f.
this.Parent.grdpoline.grid.column4.txtDescription.Enabled = .f.

What am I doing wrong?

Thanks in advance,

Andrew
On a CLEAR day you can see forever.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform