ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The ToolbarVisible property is used to:
  • determine if the toolbar or the ribbon is displayed in a control.
  • show or hide the toolbar or the ribbon in a control.
In a Spreadsheet control, the ToolbarVisible property allows:
  • determine if the toolbar or the ribbon is displayed.
  • show or hide the toolbar or the ribbon.
In a Word Processing control, Image Editor control, PDF Reader control, HTML Editor control or Diagram Editor control, the ToolbarVisible property enables:
  • determine if the ribbon is displayed.
  • display a ribbon.
Reminder: This property corresponds to the:
  • "Toolbar" in the "Details" tab of the Spreadsheet control description window. You can display a toolbar or a ribbon. This property shows or hides the element chosen in the description window. If the "No bar" option is selected, the ToolbarVisible property will show or hide the toolbar.
  • "With ribbon", in the "General" tab of the description window of Word Processing, Image Editor, HTML Editor, Diagram Editor or PDF Reader controls.
Example
IF INT_BarreOutils THEN
	TBLR_Tableur.BarreOutilsVisible = True
ELSE
	TBLR_Tableur.BarreOutilsVisible = False
END
Syntax

Determining if a toolbar or the ribbon is displayed in the control Hide the details

<Result> = <Control used>.ToolbarVisible
<Result>: Boolean
  • True if the toolbar or the ribbon is displayed,
  • False otherwise.
<Control used>: Control name
Name of control to use:
  • Spreadsheet control.
  • Word Processing control.
  • Image Editor control.
  • PDF Reader control.
  • HTML Editor control.
  • Diagram Editor control.
  • Code Editor control.

Showing or hiding a toolbar or a ribbon in a control Hide the details

<Control used>.ToolbarVisible = <Display>
<Control used>: Control name
Name of control to use:
  • Spreadsheet control.
  • Word Processing control.
  • Image Editor control.
  • PDF Reader control.
  • HTML Editor control.
  • Diagram Editor control.
  • Code Editor control.
<Display>: Boolean
  • True to show the toolbar or the ribbon,
  • False otherwise.
Remarks
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,
- ...
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help