SftTree/NET 2.0

SelectRange Method, SftTree Class

Softel vdm, Inc.

Selects or deselects a range of items or cells.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Sub SelectRange( _
     ByVal StartCell As CellClass, _
     ByVal EndCell As CellClass, _
     ByVal fSel As Boolean )
Public Sub SelectRange( _
     ByVal StartItem As ItemClass, _
     ByVal EndItem As ItemClass, _
     ByVal fSel As Boolean )

C#   

public void SelectRange(
     CellClass StartCell,
     CellClass EndCell,
     bool fSel );
public void SelectRange(
     ItemClass StartItem,
     ItemClass EndItem,
     bool fSel );

C++   

public: void SelectRange(
     CellClass^ StartCell,
     CellClass^ EndCell,
     bool fSel );
public: void SelectRange(
     ItemClass^ StartItem,
     ItemClass^ EndItem,
     bool fSel );

EndCell

Defines the ending item or cell.

EndItem

Defines the ending item or cell.

fSel

True if the items or cells are selected, otherwise False.

StartCell

Defines the starting item or cell.

StartItem

Defines the starting item or cell.

Comments

The SelectRange method selects or deselects a range of items or cells.

SelectRange accepting items as arguments and is only available if the selection style (SelectionStyle property) defines multiple item selection (SelectionStyleEnum.MultipleItems).

SelectRange accepting cells as arguments is only available if the selection style (SelectionStyle property) defines multiple cell selection (SelectionStyleEnum.MultipleCells or SelectionStyleEnum.BlockOfCells).

This method is not available with all other selection styles.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com