PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SpreadsheetBorderSelection (Function)
In French: TableurCadreSélection
Modifies the border of selected cells in a Spreadsheet control found in a window.
Example
xBorder is Border
xBorder..Thickness = 2
xBorder..Color = Black
SpreadsheetBorderSelection(PSHEET_Spreadsheet, xBorder)
Syntax
SpreadsheetBorderSelection(<Spreadsheet Control> , <Border> [, <Selection>])
<Spreadsheet Control>: Control name
Name of Spreadsheet control used.
<Border>: Border variable
Name of Border variable containing the characteristics of border to use.
<Selection>: Optional boolean
  • True if the border must be applied to each one of the selected cells,
  • False (default value) if the border must be applied to all the selected cells.
Remarks
  • The modification operation is added into the list of operations to cancel: the user can cancel this operation via the popup menu or by pressing [CTRL] + Z.
  • This function can only be used on a Spreadsheet control found in a window.
Related Examples:
The Spreadsheet control Unit examples (WINDEV): The Spreadsheet control
[ + ] Using the Spreadsheet control.
This example explains how to:
- load an xlsx file in a spreadsheet control,
- save the spreadsheet in a file,
- fill the control with data coming from the database,
- insert rows, columns,
- access the cells and handle them (modify their value, their style, ...),
- enter formulas,
- ...
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment