|
|
|
|
|
FolderImageWidth (Property)
The FolderImageWidth property gets and sets 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
Sintaxis
Finding out the width of the image corresponding to the folder Ocultar los detalles
<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 Ocultar los detalles
<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.
Observaciones To modify the width of the image displayed for a specific row in a TreeView or TreeView Table control, use the following syntax: <Nom_champ>[Line_number].FolderImageWidth = Value
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|