|
|
|
|
SpreadsheetGetSortInfo (Function) In french: TableurRécupèreInfoTri Returns various information about the sort performed in a Spreadsheet control.
sSel is string
sSel = SpreadsheetGetSortInfo(TBLR_Tableur, psheetInfoSortSelection)
IF sSel = "" THEN
RETURN
END
sMin is string = ExtractString(sSel, 1, ":")
sMax is string = ExtractString(sSel, 2, ":")
SpreadsheetSelectPlus(TBLR_Tableur, sMin, sMax)
Syntax
<Result> = SpreadsheetGetSortInfo(<Spreadsheet control> , <Type of information>)
<Result>: Character string Requested information. <Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Type of information>: Integer constant Desired information: | | psheetInfoSortCriteria | Shows the last sort criteria used to sort Spreadsheet control. <Result> has the following format:
"<Nom de la colonne1>[;< Option>]" + TAB + "<Nom de la colonne2>" + TAB + ... where: - <Name of column> is the name of sorted column,
- <Option> corresponds to one of the sort constants defined for SpreadsheetSortSelection.
Example: "A<Tab>B;3" | psheetInfoSortSelection | Gets the selection that will be sorted via the Automatic Application Features (AAFs) in the Spreadsheet control. Example: "A2:B4". Remark: If the selection does not allow the sort, <Result> corresponds to an empty string (""). | psheetInfoSortWithTitle | Determines if the selection sorted by the Automatic Application Features (AAFs) in the Spreadsheet control contains a title. <Result> can correspond to: - 1 if the selection to sort includes a title,
- 0 otherwise.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|