[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Updates the border style used for the control.
Source position: grids.pas line 1210
protected procedure TCustomGrid.UpdateBorderStyle; |
UpdateBorderStyle is a method used to apply a BorderStyle for the control that is valid for the value in the Flat property. When Flat is set to False, the value in BorderStyle is used. When Flat is True, the value bsNone is always used as the BorderStyle for the control.
UpdateBorderStyle calls the inherited SetBorderStyle method to apply the derived value to the BorderStyle property.
UpdateBorderStyle calls VisualChange to refresh the control after the change to the property, and validates the Top and Left for the visual area in the grid. These actions are not performed if the Handle has not been allocated for the control, or during LCL component streaming.
UpdateBorderStyle is called when the value for the Flat property has been changed.
|
Indicates if cells are displayed using a Flat appearance. |
|
|
Drawing style used for the borders on the control. |
|
|
Updates the grid after changes to the visual properties in the control. |
Version 4.0 | Generated 2025-05-03 | Home |