4D v13.4

OBJECT SET SCROLLBAR

Home

 
4D v13.4
OBJECT SET SCROLLBAR

OBJECT SET SCROLLBAR 


 

OBJECT SET SCROLLBAR ( {* ;} object ; horizontal ; vertical ) 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a variable
object  Form object in Object name (if * is specified) or Variable (if * is omitted)
horizontal  Boolean in True = show, False = hide
vertical  Boolean in True = show, False = hide

The OBJECT SET SCROLLBAR 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,
  • hierachical lists,
  • 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.

 
PROPERTIES 

Product: 4D
Theme: Object Properties
Number: 843

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D v11 SQL
Renamed: 4D v12

 
SEE ALSO 

LISTBOX Get information
LISTBOX SET GRID
OBJECT GET SCROLLBAR
OBJECT SET VISIBLE