Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add a control to a grid column?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184793
Message ID:
00186037
Views:
16
>>A few people keep hammering on setting Sparse=.F. I just want to check that I understand one thing about it. Sparse is only important if you have multiple controls in a column, right? If I put a checkbox into a column, then delete the textbox that was there by default, so the column consists only of header and checkbox, I have no need of Sparse=.F., right?
>>
>>Just checking. I'm still sort of a grid newbie.
>>
>>Cheers,
>
>No. Sparse just toggles betwen showing the control in all the grid rows of that column and only showing the control in the active row of the grid.

Huh. Seems like pretty stupid design. If there's only one control in the column, why wouldn't it always show it? Or why wouldn't it at least default to always showing it? TextBox controls are always shown regardless of Sparse. Why not CheckBoxes or anything else? OK, I can see cases (many-row combos) where refresh would be too slow if Sparse=.F. But I think it should default to .F., and the developer should have to turn it off if performance is bad.

My usually-not-too-humble opinion! :)

Cheers,
Rich
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Reply
Map
View

Click here to load this message in the networking platform