Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:VerticalScrollbarGetLineSize

From RoR Wiki

UI Lua API · Scrollbar functions
Version: WAR 1.4.8

Returns the line size of a VerticalScrollbar.

lineSize = VerticalScrollbarGetLineSize(scrollbarName)

Arguments

scrollbarName
string – Name of the VerticalScrollbar.

Returns

lineSize
number – The stored line size.

Details

Errors

  • Error in function call 'VerticalScrollbarGetLineSize': Window %s does not exist
  • Error in function call 'VerticalScrollbarGetLineSize': Window %s is not a VerticalScrollbar

Example

A minimal example built from the signature:

local lineSize = VerticalScrollbarGetLineSize( "MyScrollbar" )

See also