GTK-Mode FORM Objects - METHODS Updated: Aug 31, 2008 METHODS Arguments & Comments ~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ AddItems Adds string(s). [COMBOBOX LISTBOX] Background Sets FORM color BorderWidth Sets width around FORM's container. MyForm.BorderWidth = 10 Center Centers FORM on screen. MyForm.Center Clear Clears text Close Closes FORM. See OnClose event. DelItems Deletes one or more items [LISTBOX] Destroy Destroys window object (alias for .Close) Focus Sets focus to object. MyObject.Focus ForeColor Sets GAUGE foreground (bar) RGB color. Please see .Color. Foreground Sets FORM as foreground window. MyForm.Foreground InsertItem Inserts item [LISTBOX] LoadFromFile Recreate Destroys and creates object again. MyObject.Recreate Redraw [LISTBOX] MyObject.Redraw = true 'or false Resizeable Enables/disables FORM object resize. default = true SaveToFile Saves file with object data [RICHEDIT] Show Displays FORM or form object and its child components. ShowModal Displays FORM and its child components. Program continues on close Sorted Sets sorting on/off [LISTBOX] MyObject.Sorted = true 'or false Copyright 2007-2008 James J Keene PhD Original Publication: Nov 27, 2007