ExposeCellMode Property
This property controls how the rightmost column reacts when clicked by the user.
object.ExposeCellMode= value
Read/Write at run time and design time.
Property applies to TDBList control.
Values
Design Time |
Run Time |
0 - Scroll on Select (default) |
dblScrollOnSelect |
2 - Never Scroll |
dblNeverScroll |
If set to 0 - Scroll on Select (the default), the control will scroll to the left to display the rightmost column in its entirety. This can be somewhat disconcerting to users who commonly click on the control to begin editing, as the control will always shift to the left when the user clicks on the rightmost column.
If set to 2 - Never Scroll, the control will always leave the rightmost column clipped when clicked, even if the user subsequently attempts to edit the cell. Note that editing may be difficult if only a small portion of the column is visible. The chief reason to use this setting is if you know there will always be enough space available for editing (or if you disallow editing) and you never want the control to shift accidentally.
Note: The ExposeCellMode property only governs mouse clicks, not keyboard navigation.
See Also