GuiScrollPaneSetScrollBars

From Multi Theft Auto: Wiki
Revision as of 14:30, 10 February 2008 by R3mp (talk | contribs) (New page: {{Client function}} __NOTOC__ This function allows a scrollpane's scrollbars to be forced '''on''', or returned to default. ==Syntax== <syntaxhighlight lang="lua"> element guiScrollPaneSetScrollBars(el...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function allows a scrollpane's scrollbars to be forced on, or returned to default.

Syntax

element guiScrollPaneSetScrollBars(element scrollPane, bool horizontal, bool vertical)

Required Arguments

  • scrollPane: the GUI scrollpane element you want to set the scrollbars of.
  • horizontal: A bool where true forces the horizontal scrollbar on, and false returns them to default.
  • vertical: A bool where true forces the vertical scrollbar on, and false returns them to default.

Returns

Example

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows