bgiSetGizmoItemString

Sets the text of an existing item in a list box or combo box. Takes gizmo (Int), text (String), and index (Int). Returns 1 if successful, 0 if failed.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
text String
index Int

Returns

Int

Quick Summary

Sets the text of an existing item in a list box or combo box. Takes gizmo (Int), text (String), and index (Int). Returns 1 if successful, 0 if failed.

Technical Exegesis...

Sets the text of an existing item in a list box or combo box. Searches gizmoMap for the gizmo ID. For GIZMO_LISTBOX, calls ChangeListBoxItem helper function with index and text, returns 1 if successful, 0 if failed. For GIZMO_COMBOBOX, calls ChangeComboBoxItem helper function with index and text, returns 1 if successful, 0 if failed. Returns 0 if gizmo not found or unsupported gizmo type.

This function updates the text of an existing item without changing its position.

Example

Example.bam
; No example implemented yet