Colsel, Rowsel property

zhaozj2021-02-16  60

Colsel, Rowsel property

Colsel - Returns or sets the starting columns or termination columns for a range of cells. ROWSEL - Return or terminates rows for a certain range of cells returns or set.

These properties are not available when designing.

grammar

Object.colsel [= value] Object.rowsel [= Value]

Colsel and Rowsel syntax include the following:

Part Description Object an object expression, its value is an object in the list. Value A long value specifies the starting line or column for a range of cells, or specifies the termination or column.

Description

You can use these attributes to select a specific area of ​​the MSHFlexGRID, or read out the dimension of the user selecting the area of ​​the entry code.

The MSHFlexGrid cursor is in the cell of the Row, COL. MSHFLEXGRID is selected between rows Row and Rowsel and between column COL and Colsel. Note that Rowsel may be above or below, and Colsel may be on the left or right of Col on the COL.

Whenever the Row and COL attributes are set, RowSel and Colsel are automatically reset, so the cursor changes to the current selection. To select a cell from your code, you must first set the ROW and COL attributes, then set RowSel and Colsel.

转载请注明原文地址:https://www.9cbs.com/read-14487.html

New Post(0)