PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The ToolbarVisible property is used to:
  • know 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 is used to:
  • know if the toolbar or the ribbon is displayed.
  • show or hide the toolbar or the ribbon.
In a Word Processing, Image Editor, PDF Reader, HTML Editor, or Diagram Editor control, the ToolbarVisible property is used to :
  • know if the ribbon is displayed.
  • display a ribbon.
Reminder: This property corresponds to the option:
  • "Toolbar" in the "Details" tab of the Spreadsheet control description window. You have the ability to display a toolbar or a ribbon. This property is used to display or hide the element chosen in the description window. If the "No bar" option is selected, the ToolbarVisible property will be used to display 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.
Versions 26 and later
WINDEVWindows This property is now available for HTML Editor controls.
New in version 26
WINDEVWindows This property is now available for HTML Editor controls.
WINDEVWindows This property is now available for HTML Editor controls.
Versions 27 and later
WINDEVWEBDEV - Server code This property is now available for Diagram Editor controls.
WEBDEV - Server code This property is only available for Diagram Editor controls.
New in version 27
WINDEVWEBDEV - Server code This property is now available for Diagram Editor controls.
WEBDEV - Server code This property is only available for Diagram Editor controls.
WINDEVWEBDEV - Server code This property is now available for Diagram Editor controls.
WEBDEV - Server code This property is only available for Diagram Editor controls.
Example
IF CBOX_Toolbar THEN
PSHEET_Spreadsheet.ToolbarVisible = True
ELSE
PSHEET_Spreadsheet.ToolbarVisible = False
END
Syntax

Finding out whether 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 visible,
  • False otherwise.
<Control used>: Control name
Name of the control to be used:
  • Spreadsheet control.
  • Versions 22 and later
    Word Processing control.
    New in version 22
    Word Processing control.
    Word Processing control.
  • Versions 23 and later
    Image Editor control.
    New in version 23
    Image Editor control.
    Image Editor control.
  • Versions 23 and later
    PDF Reader control.
    New in version 23
    PDF Reader control.
    PDF Reader control.
  • Versions 26 and later
    HTML Editor control.
    New in version 26
    HTML Editor control.
    HTML Editor control.
  • Versions 27 and later
    Diagram Editor control.
    New in version 27
    Diagram Editor control.
    Diagram Editor control.

Displaying (or not) a toolbar (or a ribbon) in a control Hide the details

<Control used>.ToolbarVisible = <Display>
<Control used>: Control name
Name of the control to be used:
  • Spreadsheet control.
  • Versions 22 and later
    Word Processing control.
    New in version 22
    Word Processing control.
    Word Processing control.
  • Versions 23 and later
    Image Editor control.
    New in version 23
    Image Editor control.
    Image Editor control.
  • Versions 23 and later
    PDF Reader control.
    New in version 23
    PDF Reader control.
    PDF Reader control.
  • Versions 26 and later
    HTML Editor control.
    New in version 26
    HTML Editor control.
    HTML Editor control.
  • Versions 27 and later
    Diagram Editor control.
    New in version 27
    Diagram Editor control.
    Diagram Editor control.
<Display>: Boolean
  • True to make the toolbar (or the ribbon) visible,
  • 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