bgiSetScrollPanelScrollX

Sets the horizontal scroll position programmatically. Takes scrollPanelID (Int) and scrollX (Int). Returns nothing.

BGI GUI

Parameters & Returns

Parameters

scrollPanelID Int
scrollX Int

Returns

Void

Quick Summary

Sets the horizontal scroll position programmatically. Takes scrollPanelID (Int) and scrollX (Int). Returns nothing.

Technical Exegesis...

Programmatically sets the horizontal scroll position of a scroll panel. Searches gizmoMap for the panel. Clamps scrollX to valid range (0 to virtualWidth - panelWidth). Calls SetScrollInfo with SIF_POS to update the scrollbar position. Sends WM_HSCROLL message to trigger the scroll handler which repositions the canvas window. Takes no action if panel not found or has no horizontal scrollbar.

Example

Example.bam
; No example implemented yet