ToolBar.EnableBands Method | |
Enable toolbar band support.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD EnableBands(
lEnable
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual EnableBands(
Usual lEnable = default
)
Request Example
View SourceParameters
- lEnable (Optional)
- Type: Usual
A logical value specifying whether or not toolbar separator bands are supported. The default is TRUE.
Return Value
Type:
Usual
TRUE if successful; otherwise, FALSE.
Remarks
This method enables or disables toolbar band support. If bands are enabled (the default), the toolbar uses internally a Rebar32 control and supports the management of several bands. If you do not need or want bands, issue EnableBands(FALSE) before the toolbar is shown/created.
Tip |
---|
If band support is disabled, the band-related methods, such as ToolBar:AddBand(), will not work. |
Examples
For an example of a band-style toolbar, see the Private Eye sample application.
See Also