StyleGrid REALbasic Plugin

StyleGridSelection Class

StyleGridSelection class allows to read and manipulate StyleGrid selection.

Notes:
This class may never be manually constructed.

A Instance of this class can be obtained from the Selection property of the StyleGrid.

This class is not inheritable or comparable.

Object
   StyleGridSelection

class StyleGridSelection

Properties

FirstSelectedColumnReturns the first selected column.
FirstSelectedRowGet the number of the first selected row.
LastSelectedColumnIf AreaSelection is enabled then this property will return the number of the last selected column.
LastSelectedRowIf AreaSelection is enabled then this property returns the number of the last selected row.
RowCountReturns the count of selected rows.

Methods

AddRowsAdds rows to the selection when in Full Row and multiselection mode.
ClearClears the selection.
RemoveRowsRemoves rows from the selection when in Full Row and multiselection mode.
RowIsSelectedReturns true if the row by the given index is selected.
SelectedRowReturns the index of a row in the Grid from the index of the row in the selection. This function together with the RowCount function should be used to iterate through selected rows when in Full Row Multiselection mode.
SetSelects a cell (or row).
SetSelects range of cells (or rows) in a MultiSelection StyleGrid.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: