X11-Mode FORM Objects - METHODS
Updated: Aug 27, 2008

METHODS    Arguments & Comments
~~~~~~~    ~~~~~~~~~~~~~~~~~~~~
AddItems   Adds string(s)
           [COMBOBOX EDIT FILELISTBOX GRID LISTBOX LISTVIEW RICHEDIT RICHEDIT2
            TREEVIEW UPDOWN]
Background Sets FORM color
Border     Sets/clears WS_BORDER .Style bit
Center     Centers FORM on screen.  MyForm.Center
Clear      Clears object text
           [COMBOBOX EDIT FILELISTBOX GRID LISTBOX LISTVIEW RICHEDIT RICHEDIT2
            TREEVIEW UPDOWN]
Close      Closes FORM.  See OnClose event.
Cursor     Sets object cursor.  MyObj.Cursor = 150  'animated hour glass

  $define XC_X_cursor 0
  $define XC_arrow 2
  $define XC_based_arrow_down 4
  $define XC_based_arrow_up 6
  $define XC_boat 8
  $define XC_bogosity 10
  $define XC_bottom_left_corner 12
  $define XC_bottom_right_corner 14
  $define XC_bottom_side 16
  $define XC_bottom_tee 18
  $define XC_box_spiral 20
  $define XC_center_ptr 22
  $define XC_circle 24
  $define XC_clock 26
  $define XC_coffee_mug 28
  $define XC_cross 30
  $define XC_cross_reverse 32
  $define XC_crosshair 34
  $define XC_diamond_cross 36
  $define XC_dot 38
  $define XC_dotbox 40
  $define XC_double_arrow 42
  $define XC_draft_large 44
  $define XC_draft_small 46
  $define XC_draped_box 48
  $define XC_exchange 50
  $define XC_fleur 52
  $define XC_gobbler 54
  $define XC_gumby 56
  $define XC_hand1 58
  $define XC_hand2 60
  $define XC_heart 62
  $define XC_icon 64
  $define XC_iron_cross 66
  $define XC_left_ptr 68
  $define XC_left_side 70
  $define XC_left_tee 72
  $define XC_leftbutton 74
  $define XC_ll_angle 76
  $define XC_lr_angle 78
  $define XC_man 80
  $define XC_middlebutton 82
  $define XC_mouse 84
  $define XC_pencil 86
  $define XC_pirate 88
  $define XC_plus 90
  $define XC_question_arrow 92
  $define XC_right_ptr 94
  $define XC_right_side 96
  $define XC_right_tee 98
  $define XC_rightbutton 100
  $define XC_rtl_logo 102
  $define XC_sailboat 104
  $define XC_sb_down_arrow 106
  $define XC_sb_h_double_arrow 108
  $define XC_sb_left_arrow 110
  $define XC_sb_right_arrow 112
  $define XC_sb_up_arrow 114
  $define XC_sb_v_double_arrow 116
  $define XC_shuttle 118
  $define XC_sizing 120
  $define XC_spider 122
  $define XC_spraycan 124
  $define XC_star 126
  $define XC_target 128
  $define XC_tcross 130
  $define XC_top_left_arrow 132
  $define XC_top_left_corner 134
  $define XC_top_right_corner 136
  $define XC_top_side 138
  $define XC_top_tee 140
  $define XC_trek 142
  $define XC_ul_angle 144
  $define XC_umbrella 146
  $define XC_ur_angle 148
  $define XC_watch 150
  $define XC_xterm 152
  $define XC_num_glyphs 154

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 property. 
Foreground Sets as foreground window.  MyForm.Foreground
InsertItem Inserts item [LISTBOX]
LoadFromFile Loads text from file
           [COMBOBOX EDIT FILELISTBOX GRID LISTBOX LISTVIEW RICHEDIT RICHEDIT2
            TREEVIEW UPDOWN]
Recreate   Destroys and creates object again.  MyObject.Recreate
RePaint    Signals system that object needs repainting.  MyObject.Repaint
Resizeable Enables/disables FORM object resize.  default = true
SaveToFile Saves file with object text
           [COMBOBOX EDIT FILELISTBOX GRID LISTBOX LISTVIEW RICHEDIT RICHEDIT2
            TREEVIEW UPDOWN]
ScrollCaret Scrolls multi-line display to caret position [all multi-line]
Show       Displays FORM or form object and its child components.
ShowModal  Displays FORM and its child components.  Program continues on close
Vertical   Sets to vertical orientation [SCROLLBAR]


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