DesktopListBox.CellBorderColor
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Method
DesktopListBox.CellBorderColor(row as Integer, column as Integer) As ColorGroup
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Used to get the color of the borders of the cell passed.
Method
DesktopListBox.CellBorderColor(row as Integer, column as Integer, Assigns color As ColorGroup)
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Used to get the color of the borders of the cell passed.
Sample Code
The following code in a DesktopListBox Opening event sets the border of the first cell in a DesktopListBox to red using the color Red:
The following code in a DesktopListBox Opening event sets the border of the first cell in a DesktopListBox to color defined in a ColorGroup in the project called BorderColor:
Me.CellBorderColor(0, 0) = BorderColor
You can also check the color of a cell by comparing it either to Color or a ColorGroup: