Skip to content

guiscrollctrl: members

12 implemented, 0 reserved. Entries are sorted by name.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.