Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids / Sparse: Still confused
Message
From
27/06/1998 13:43:56
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00112186
Message ID:
00112189
Views:
20
>When sparse it set to .T. for a column, is the entire column supposed to show *nothing* unless you click a cell in that column? This is happening to me. I thought that with Sparse set to .T., you could still see the contents of the cell in the ActiveRow, but not in all other rows. I'd appreciate a clarification of how this property actually works, and also how it interacts with CurrentControl and DynamicCurrentControl.

Sparse 'should' (when working properly) determine how complex controls, such as combos, check boxes etc, are displayed in the grid.

If sparse is set to .T., then each cell will show its appropriate value, effectively without using any of the controls that are contained by the column (Using a sort of default textbox .. that you can't change - except by altering some of the column properties).

When the user moves the cursor into a particular 'cell' of the grid, the data is displayed (in this cell only) using the control pointed at by currentcontrol.

So with Sparse set to .T. you don't see columns full of Combos, Check boxes etc. With sparse set to .F., then you would see columns of Combos etc.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform