|
|
|
|
|
FolderImageWidth (Property) In french: LargeurImageDossier
The FolderImageWidth property is used to get and change the folder image width in TreeView and TreeView Table controls. This property corresponds to the option: - "Width of folder image" in the "Details" tab of the TreeView control description window.
- "Width" of the "Image of folders" section found in the "Details" tab of the description window of TreeView Table controls.
// Delete the display of folders TREE_MyTreeView.FolderImageWidth = 0 Â // Restore the display of folders TREE_MyTreeView.FolderImageWidth = -1 // Default value
Syntax
Finding out the width of the image corresponding to the folder Hide the details
<Current width> = <Control used>.FolderImageWidth
<Current width>: Integer - Current width of the image displayed (expressed in pixels),
- 0 if the image is not displayed,
- -1 if the image is displayed with its initial width.
<Control used>: Control name Name of control to use:- TreeView control,
- TreeView Table control.
Modifying the width of the image corresponding to the folder Hide the details
<Control used>.FolderImageWidth = <New width>
<Control used>: Control name Name of control to use:- TreeView control,
- TreeView Table control.
<New width>: Integer New width for the image displayed (expressed in pixels)If this parameter is set to: - 0 if the image is not displayed,
- -1 if the image is displayed with its initial width.
Remarks To modify the width of the image displayed for a specific row in a TreeView or TreeView Table control, use the following syntax: <Control_Name>[Row_Number].FolderImageWidth = Value
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|