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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Objects in Grid

Status
Not open for further replies.

ChrisAgius

Programmer
Sep 27, 2000
51
MT
I inserted an object into a grid. This object is a checkbox from my class. THe problem is that the checkbox which I inserted will only get visible only when the focus is on it. And only the check box of the that row will get visible. What is the problem ...any solutions.
 
Set the columns sparce property to .F.

VFP Help Column, Properties, Sparce...
Setting Description
True (.T.) (Default) Only the Column's active cell uses the CurrentControl property setting to accept and display data. The other cells use the TextBox control if the current control for the cells is not the container object or a command button. The other cells remain empty if the current control for the cells is the container object or a command button.
False (.F.) All cells in the Column object use the CurrentControl property setting to display data; the active cell accepts data.


-Pete
 
Chris

You need to set the sparse property of the column to false

THISFORM.Grid1.Column1.Sparse = .F.

Chris :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top