GuiScrollBarSetScrollPosition

From Multi Theft Auto: Wiki
Revision as of 21:10, 7 May 2017 by Necktrox (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function GuiScrollBarSetScrollPosition needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function is used to set the scroll amount of a scrollbar as a percentage.

Syntax

bool guiScrollBarSetScrollPosition ( gui-scrollBar theScrollBar, float amount )

Required Arguments

  • theScrollBar: The scrollbar you want to change the progress of
  • amount: a float ranging from 0 - 100 representing the amount you wish to set the scroll bar.

Returns

Returns true if the scroll position was successfully set, false otherwise.

Example

This page lacks an example

--add an example here

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

Catogory:Needs_Example