GTK-Mode FORM Objects - PROPERTIES
Updated: Aug 31, 2008

PROPERTIES Comments (RW numeric or string values):
~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Caption    Set/get object text; same as .Text
           [Read only: COMBOBOX gets selected text]
Checked    Set/get checked state [BUTTON CHECKBOX RADIOBUTTON]
Class      Class name string.  MyClass = MyObject.Class
Color      Set/get background color by RGB value 0 - &HFFFFFF
Enabled    Enables user input with mouse or keyboard to object
Font       Set font for object text.  MyObject.Font = MyFont
Height     Set/get object height.  If set for IMAGE, IMAGE may be resized.
ItemIndex  Set/get selected item.  [LISTBOX] [Write only: COMBOBOX]
Left       Set/get object left position
Parent     Set/get handle of .Parent to object.  MyObject.Parent = MyObject
           For LISTBOX and RICHEDIT, .Parent = the GtkScrolledWindow (LISTVIEW)
Position   Set/get position  [GAUGE SCROLLBAR TRACKBAR UPDOWN]
Style      Set/get Style.  For FORM, default = &HCF0000
Tag        Set/get arbitrary value associated with object.  MyEdit.Tag = 12
Text       Set/get object text; same as .Caption.
TextColor  Set/get RGB color of text.
Top        Set/get object top position
Visible    Displays or hides object (default = true)
Width      Set/get object width.

PROPERTIES (Read Only String):
~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
Item       Item text [COMBOBOX LISTBOX]

PROPERTIES (Read Only Numeric):
~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
ClientHeight Same as .Height; client area height.  cHeight = MyForm.ClientHeight
ClientWidth Same as .Width; client area width.  cWidth = MyForm.ClientWidth
Handle     Object handle
ID         Object ID assigned internally at object creation
IndexOf    Index of MyString [LISTBOX]
ItemCount  Item count [LISTBOX RICHEDIT]
Length     Length of object text (if referenced without an index)
LineCount  Same as .ItemCount
MouseX     Mouse x position in object rectangle; MyLong = MyForm.MouseX
MouseY     Mouse y position in object rectangle; MyLong = MyForm.MouseY
Selected   True (not zero) if item selected [LISTBOX]


Copyright 2007-2008 James J Keene PhD
Original Publication: Nov 12, 2007
