guiscrollctrl: members
12 implemented, 0 reserved. Entries are sorted by name.
Implemented
Section titled “Implemented”childmargin
Section titled “childmargin”guiscrollctrl.childmargin: string
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { childmargin = 1; }Specification: gui.md§3.
constantthumbheight
Section titled “constantthumbheight”guiscrollctrl.constantthumbheight: boolean
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { constantthumbheight = 1; }Specification: gui.md§3.
hscrollbar
Section titled “hscrollbar”guiscrollctrl.hscrollbar: string
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Horizontal scroll bar: dynamic, alwayson or alwaysoff.
new GuiScrollCtrl("MyControl") { hscrollbar = "alwaysoff"; }Specification: gui.md§3.
onScrolled
Section titled “onScrolled”guiscrollctrl.onScrolled(x: number, y: number, dx: number, dy: number)
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Raised when the content of the scroll control moved.
function MyControl.onScrolled() { echo("onScrolled");}Specification: gui.md§3.
scrolldelta
Section titled “scrolldelta”guiscrollctrl.scrolldelta(arg1: number, arg2: number) -> number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Moves the scroll content by an offset.
Control.scrolldelta(0, 0);Specification: gui.md§3.
scrollpos
Section titled “scrollpos”guiscrollctrl.scrollpos: string
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { scrollpos = 1; }Specification: gui.md§3.
scrollrectvisible
Section titled “scrollrectvisible”guiscrollctrl.scrollrectvisible(arg1: number, arg2: number, arg3: number, arg4: number) -> number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Scrolls the least that shows a rectangle of the content.
Control.scrollrectvisible(0, 0, 0, 0);Specification: gui.md§3.
scrollto
Section titled “scrollto”guiscrollctrl.scrollto(arg1: number, arg2: number) -> number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Moves the scroll content to an offset.
Control.scrollto(0, 0);Specification: gui.md§3.
guiscrollctrl.tile: boolean
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { tile = 1; }Specification: gui.md§3.
vscrollbar
Section titled “vscrollbar”guiscrollctrl.vscrollbar: string
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Vertical scroll bar: dynamic, alwayson or alwaysoff.
new GuiScrollCtrl("MyControl") { vscrollbar = "dynamic"; }Specification: gui.md§3.
wheelscrolllines
Section titled “wheelscrolllines”guiscrollctrl.wheelscrolllines: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { wheelscrolllines = 1; }Specification: gui.md§3.
willfirstrespond
Section titled “willfirstrespond”guiscrollctrl.willfirstrespond: boolean
Runs on: client only. Origin: compatibility. Since: M8. Playground: no.
Property of GuiScrollCtrl in the legacy GUI toolkit (gui.md§2, §3).
new GuiScrollCtrl("MyControl") { willfirstrespond = 1; }Specification: gui.md§3.
Engine version 0.1.0. Built 2026-11-18.