Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:listbox [2019/10/23 00:53]
127.0.0.1 external edit
desktop:listbox [2020/04/16 11:12] (current)
agcyphers [Methods]
Line 14: Line 14:
 ==== Events ==== ==== Events ====
 ^ Definition      ^ Description       ^ ^ Definition      ^ Description       ^
 +| ColumnResized(column as Integer) | Raised when a column resize operation has completed. |
 +| ColumnResizing(column as Integer) | Raised during a column resize operation. |
 | HeaderMenuAction(column as Integer, parentMenu as MenuItem, hitItem as MenuItem) | Raised when the user clicks a column header's menu item. | | HeaderMenuAction(column as Integer, parentMenu as MenuItem, hitItem as MenuItem) | Raised when the user clicks a column header's menu item. |
 | HeaderPressed(Column as Integer, IsContextualClick as Boolean) As Boolean | Raised when the user clicks a column header. | | HeaderPressed(Column as Integer, IsContextualClick as Boolean) As Boolean | Raised when the user clicks a column header. |
Line 19: Line 21:
 ==== Methods ==== ==== Methods ====
 ^ Definition      ^ Description       ^ ^ Definition      ^ Description       ^
 +| CellBounds(Row as Integer, Column as Integer) as Realbasic.Rect | Returns the current relative coordinates of the specified column. |
 | HeaderMenu(index as Integer) as MenuItem | Returns the menu assigned to the supplied header column index. | | HeaderMenu(index as Integer) as MenuItem | Returns the menu assigned to the supplied header column index. |
 | HeaderMenu(index as Integer, assigns menuVal as MenuItem) | Assigns a menu to the specified header. | | HeaderMenu(index as Integer, assigns menuVal as MenuItem) | Assigns a menu to the specified header. |
Line 27: Line 30:
 ^ Name      ^ Type       ^ Default Value       ^ Description       ^ ^ Name      ^ Type       ^ Default Value       ^ Description       ^
 | HoverEffect | HoverEffects | System | When set to System, the hover effects for list rows and column headers will use the system default setup. For macOS hover effects are disabled by default, for others they are on by default. | | HoverEffect | HoverEffects | System | When set to System, the hover effects for list rows and column headers will use the system default setup. For macOS hover effects are disabled by default, for others they are on by default. |
 +| IsHorizontalScrollVisible | Boolean | False | Returns whether the horizontal scrollbar is currently visible. |
 +| IsVerticalScrollVisible | Boolean | False | Returns whether the vertical scrollbar is currently visible. |
 | ListIndexHover | Integer | -1 | Current row index that the mouse is over. | | ListIndexHover | Integer | -1 | Current row index that the mouse is over. |