Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Selected Cell Padding | Multivalue | The padding used when the cell is selected | -1 |
<2> | Selected Record Padding | Multivalue | The padding used when the cell's record is selected, but not the cell itself | -1 |
<3> | Selected Column Padding | Multivalue | The padding used when the cell's column is selected, but not the cell itself | -1 |
...
Pos | Name | Type | Description |
---|---|---|---|
<1, 1> | Left Padding | Integer | The number of pixels between the cell's left edge and its contents |
<1, 2> | Top Padding | Integer | The number of pixels between the cell's top edge and its contents |
<1, 3> | Right Padding | Integer | The number of pixels between the cell's right edge and its contents |
<1, 4> | Bottom Padding | Integer | The number of pixels between the cell's bottom edge and its contents |
For any of the fields below, if a value is set to -1, then the system will use the next available padding. The order of preference is, Selected Cell Padding, Selected Row Padding, Selected Column Padding, and CellPadding. For example, if there is no Selected Cell Padding, then the system will use the Selected Row Padding. If there are no CellSelPadding settings at all, then the CellPadding settings are used.
Selected Cell Padding
...
The last field establishes the padding to be used when the cell's column is selected. The cell's column is considered to be selected when any other cell in that column is selected.
Example
Code Block |
---|
// Force all cell's have a different padding when row is selected
SelPadding = ""
SelPadding<2, 2> = 11 ;// Set top padding to 11 when row is selected
SelPadding<2, 2> = 0 ;// Remove bottom padding when row is selected
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellSelPadding[All;All]", SelPadding) |