ChildAppWindow.EnableVerticalScroll Method | |
Enable/disable a window vertical scroll bar in an application window.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD EnableVerticalScroll(
lEnable
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual EnableVerticalScroll(
Usual lEnable = default
)
Request Example
View SourceParameters
- lEnable (Optional)
- Type: Usual
TRUE enables the WindowVerticalScrollBar object; FALSE disables it. The default is TRUE.
Return Value
Type:
Usual
If the scroll bar is enabled, a WindowVerticalScrollBar object is returned; if disabled, NULL_OBJECT is returned.
Remarks Tip |
---|
This is the only valid way to create a window vertical scroll bar. |
A WindowVerticalScrollBar object is a special type of scroll bar that is aligned along the right side of a window's canvas area. It resizes itself according to the size of the window that owns it.
After creating a WindowVerticalScrollBar object, it should then be shown and its range set.
Examples
This example enables a WindowVerticalScrollBar object and sets its range to be 1-200, with a block size of 25:
1METHOD Init() CLASS TopAppWindow
2pwvs := SELF:EnableVerticalScroll()
3pwvs:Show()
4pwvs:Range := Range{1,200}
5pwvs:BlockSize := 25
See Also