General information
Category:
Coding, syntax & commands
Title:
Invisible textbox in grid
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only