GuiScrollPaneSetScrollBars: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
==Example==  
==Example==  
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">
{{example}}
-- Add example..
</syntaxhighlight>
</section>
</section>


==See Also==
==See Also==
{{GUI functions}}
{{GUI functions}}
[[Category:Needs Example]]

Revision as of 05:44, 21 November 2011

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

Syntax

bool 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

Returns true if the call was successfully, false otherwise.

Example

Click to collapse [-]
Client
Accessories-text-editor.png Script Example Missing Function GuiScrollPaneSetScrollBars needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO

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