Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why 2 Data Blocks for a Column in a Grid
Message
From
11/10/2004 03:27:50
 
 
To
10/10/2004 12:42:13
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00950271
Message ID:
00950336
Views:
10
>One thing I have never figured out about Grids is why there are 2 places to enter the ControlSource for a each column.
>
>i.e. suppose you have a column for the Price of a product. There will be 3 elements for that column: The ColumnName, Header1 and Text1. It seems I must always enter the ControlSource twice, once under the ColumnName and again under Text1. If the ControlSources are not the same then the Grid becomes buggy.
>
>Wouldn't it be easier to just enter the ColumnSource in the text1 space?
>
>What is the purpose of entering the ControlSource twice?
>
>Mike Smith

This behaviour it is controlled by the column's Bound property. Read the Help.

Of course, with Sparse = .F., you don't see the column values ( a hidden textbox object )
but set or not unset the column's ControlSource can change the the operation of the grid functionallity however
Previous
Reply
Map
View

Click here to load this message in the networking platform