GuiScrollBarSetScrollPosition

From Multi Theft Auto: Wiki

Jump to: navigation, search

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

Buttons

Checkboxes

Comboboxes

Edit fields


Gridlists

Memos


Progress bars

Radio buttons

Scrollbars

Scroll panes

Static images

Tab panels

Tabs

Text labels

Windows


Catogory:Needs_Example