GuiScrollBarGetScrollPosition

From Multi Theft Auto: Wiki
Revision as of 20:32, 29 November 2007 by Talidan (talk | contribs) (New page: {{client function}} This function gets the scroll amount of a scrollbar as a percentage. ==Syntax== <syntaxhighlight lang="lua"> float guiScrollBarGetScrollPosition ( gui-scrollBar theScrollBar ) </code...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function gets the scroll amount of a scrollbar as a percentage.

Syntax

float guiScrollBarGetScrollPosition ( gui-scrollBar theScrollBar )

Required Arguments

  • theScrollBar : The scrollbar you want to check.

Returns

Returns a float ranging between 0 and 100, representing the amount the scrollbar has been scrolled.

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