[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.ShowScrollBar

Shows or hides a ScrollBar.

Declaration

Source position: winapih.inc line 272

public function TWidgetSet.ShowScrollBar(

  Handle: HWND;

  wBar: Integer;

  bShow: Boolean

):Boolean; virtual;

Arguments

Handle

  

The window or ScrollBar handle.

wBar

  

The scrollbar type (SB_CTL, SB_HORZ...).

bShow

  

True shows, False hides the ScrollBar.

Function result

False on failure.

See also

TWidgetSet.EnableScrollBar

  

Enables or disables the arrows of a scrollbar control, or of the scrollbars of a window.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.