The horizontal scroll bar genie has the following parameters:
Parameter |
Description |
---|---|
Scrollbar Name |
A unique name used to identify the genie within a page. |
Width |
The pixel width of the control at runtime. Leave the size of the genie at design time as 100 pixels, as it will be automatically calculated at runtime. |
Update on Drag |
True/False (True selected by default). Determines whether the position of the scroll bar and the contents of the associated control genie is updated while the thumb is being dragged |
Auto Hide |
Determines whether the scroll bar will be automatically hidden when the contents of the associated control are fully displayed on screen |
Allow Double Click |
Determines whether the scroll bar will response to mouse double-click event |
Hidden When |
A user specified expression to explicitly hide the scroll bar If this is not specified, it is defaulted to FALSE (not hidden). |
Initialize |
Callback function that is called when the control initializes The callback function should return either TRUE (1) for success or FALSE (0) if unsuccessful. By default, if the user specified function does not initialize, the control genie will retry the function a few time before giving up. This callback only supports the #Name keyword which represents the name assigned to the control genie. |
Callback |
Callback function to be called when the position of the scroll bar is updated. No particular return value is expected from this function, and it supports the following keywords in its argument list: #Name = name assigned to the genie #Pos = position of the scroll bar #View = number of items for the scroll bar view (that constitutes one page of items) #Max = maximum (total) number of items for the scroll bar |
Right Mouse |
Callback function to be called when the user clicks the right mouse button on the scroll bar. Supports the same set of substitutions as Callback. |
See Also
Published June 2018