bgiSetScrollPanelScrollY

Sets the vertical scroll position programmatically. Takes scrollPanelID (Int) and scrollY (Int). Returns nothing.

BGI GUI

Parameters & Returns

Parameters

scrollPanelID Int
scrollY Int

Returns

Void

Quick Summary

Sets the vertical scroll position programmatically. Takes scrollPanelID (Int) and scrollY (Int). Returns nothing.

Technical Exegesis...

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

Example

Example.bam
; No example implemented yet