Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foxpro 5.0 Grid

Status
Not open for further replies.

lolo2003

Programmer
Jun 17, 2003
5
0
0
CA
I have a grid bound to a database.

I need to be able to deactivate some rows while data is loading from database...

Example

if Thisform.Grid1.Column18.Text1.Value
Thisform.Grid1.Column18.Text1.enabled= .F.


How can I do that ???


 
I'm not really sure what you are asking. Individual rows aren't able to be enabled and disabled, and I'm unclear about "... while data is loading ..." - is this a remote view?

Rick
 
My Grid is bound to a table in a database.

While data is loaded in grid (in fact when form is loaded) I want to react on every row (To be able to disable somes cells) So I am serching an event that it is fired on every new row..


if Thisform.Grid1.Column18.Text1.Value = 24
Thisform.Grid1.Column19.Text1.enable = .F.
 
lolo2003,

I'm also not sure about hat you mean / need but it looks to me as if you want "different" grids to behave on a given condition.

so why not make different grids and place the "condition" in the firts place with an IF or DOCASE ?

Wilfredo


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top