ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / TreeView control
  • Overview
  • Available properties
  • Properties available in a window
  • Properties available in a page (server code)
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
Properties associated with the rows of a TreeView control
Overview
The rows of TreeView controls in a window or page can be manipulated using different WLanguage properties.
Remark: To manipulate the rows of a TreeView control using WLanguage properties, use:
  • The syntax: <TreeView control name>[<Element index>>]..<Property>.
  • The syntax: <TreeView control name>[<Element path>>]..<Property>.
Available properties
WINDEVWindowsJava

Properties available in a window

The following properties can be used with the rows of a TreeView control:
AddChildDelayedThe AddChildDelayed property indicates the procedure to be called when a row in a TreeView or TreeView Table control is clicked to be expanded.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
CheckedThe Checked property gets and sets the checkmark state of an element.
CheckmarkVisibleThe CheckmarkVisible property is used to:
  • Determine whether a checkmark is displayed to the left of a row in a TreeView control.
  • Show or hide a checkmark to the left of a row in a TreeView control.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
FolderImageWidthThe FolderImageWidth property is used to get and change the folder image width in TreeView and TreeView Table controls.
FontThe Font property is used to
  • Get the identifier of the font used in a control in a report, page or window.
  • Change the font used in a control in a report, page or window.
FontBoldThe FontBold property is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontCharsetThe FontCharset property is used to:
  • Find out the character set used by the screen fonts of a control.
  • Modify the character set used by the screen fonts of a control.
FontCondensedThe FontCondensed property is used to:
  • Determine if characters in a text are condensed.
  • Condense (or not) the characters in a text.
FontExtendedThe FontExtended property is used to:
  • Find out whether the spacing between characters in a text is increased.
  • Increase the spacing between characters in a text.
FontItalicThe FontItalic property is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontLargeThe FontLarge property is used to:
  • Determine if the text is expanded.
  • Expand the text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontStrikeOutThe FontStrikeOut property is used to:
  • Determine if the text displayed is struck through.
  • Apply strikethrough formatting (or not) the text displayed in a control.
FontUnderlinedThe FontUnderlined property is used to:
  • Determine if the text is underlined.
  • Underline (or not) a text.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
GrayedThe Grayed property is used to:
  • Determine if a control (or a group of controls) is grayed out.
  • Gray out or ungray a control, a group of controls or a window.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HelpNumberThe HelpNumber property is used to identify and modify the help number associated with a control.
StateThe State property is used to get and change the state of an element.
StoredValueThe StoredValue property is used to get the value currently stored by:
  • a row in a List Box, ListView or Combo Box control.
  • a "Text token" Edit control.
  • a row of a Table control.
  • an input suggestion in an Edit control (if the suggestion is selected).
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TotalNbChildrenThe TotalNbChildren property returns the total number of children in a branch:
  • of a Treeview control,
  • of a TreeView Table control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
WinEditAllowedThe WinEditAllowed property is used to determine and configure the actions allowed on a control when the window switches to "Allow end users to modify the UI" mode.
WEBDEV - Server codeAjax

Properties available in a page (server code)

The following properties can be used with the rows of a TreeView control:
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
URLThe URL property is used to:
  • Get the address associated with a control.
  • Change the address associated with a control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help