Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible textbox in grid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Invisible textbox in grid
Divers
Thread ID:
00107416
Message ID:
00107416
Vues:
48
I am trying to do the following in VFP 5.0a

In a grid when field 4 of a record is greater than 100 I want the contents of field 2 of the same record not to be visible.

I have tried this:

IF thisForm.Grid1.Column4.Text1.Value > 100
thisForm.Grid1.Column2.Text1.Visible = .F.
ELSE
thisForm.Grid1.Column2.Text1.Visible = .T.
ENDIF

I have placed this code in several places but the field is always visible.

Just for the sake of it I have tried:
This.Visible = .F.
in the refresh of the textbox but it does not even work.

The only thing that works is I change the column2.visible property to .F. then everything is invisible.

So what is the use of this property in the textbox?

Thanks in advance for your help.
Raymond
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform