SET SCROLLBAR VISIBLE

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004.3 (Modified)


SET SCROLLBAR VISIBLE ({*; }object; horizontal; vertical)

ParameterTypeDescription
*If specified, object is an object name (string)
If omitted, object is a variable
objectForm objectObject name (if * is specified) or
Variable (if * is omitted)
horizontalBooleanTrue = show, False = hide
verticalBooleanTrue = show, False = hide

Description

The SET SCROLLBAR VISIBLE command allows you to display or hide the horizontal and/or vertical scrollbars in the object set using the object and * parameters.

If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you do not pass a string, but a variable reference. For more information about object names, refer to the Object Properties section.

This command is used with the following form objects:

list boxes,

scrollable areas,

subforms.

Pass the Boolean values in horizontal and vertical indicating whether the corresponding scrollbars should be displayed (True) or hidden (False). The scrollbars are displayed by default.

Note: Objects of the scrollable area type do not have horizontal scrollbars. Since the horizontal parameter is mandatory, you must still pass it in this case; however, it will be ignored.

See Also

Get listbox information, SET VISIBLE, SHOW LISTBOX GRID.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next