ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Spreadsheet functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Allows you to:
  • know if a comment is selected in a Spreadsheet control,
  • select or deselect a comment in a Spreadsheet control.
Example
// Select the comment in cell A1
SpreadsheetSelectComment(PSHEET_MySpreadsheet, "A1")
Syntax

Finding out if a comment is selected Hide the details

<Result> = SpreadsheetSelectComment(<Spreadsheet control>)
<Result>: Character string
  • Name of the cell that has a selected comment (e.g., "A1"),
  • Empty string ("") if no comment is selected.
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.

Selecting or deselecting a comment Hide the details

SpreadsheetSelectComment(<Spreadsheet control> , <Position>)
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
<Position>: Character string
  • Name of the cell (e.g. "A1") whose comment must be selected, made visible and enabled for input. If the cell does not have a comment, it is created.
  • Empty string (""). In this case, if a comment was selected, it is deselected and the input made in the comment is validated.
Remarks
  • Only one comment can be selected at a time in a Spreadsheet control.
Business / UI classification: UI Code
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help