Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 WComboBox              Combo box control class
 ----------------------------------------------------------------------------
 WComboBox
 Combo box control class
 ----------------------------------------------------------------------------
 
 Properties
 CurItem        The currently selected item (a string or NIL)
 Items          The items in the control (an array of strings)
 LastRec        The number of items in the control
 Position       The number of the current item
 RecCount       The number of items in the control
 RecNo          The number of the current item
 WndClass       The name of the control's window class ("combobox")
 WndStyle       The control's usual style (a combination of WS_* values)
 
 Methods
 WComboBox:Add()         Add an item
 WComboBox:Delete()      Delete an item
 WComboBox:GoBottom()    Position at the end of the control's items
 WComboBox:GoTo()        Position at the specified item
 WComboBox:GoTop()       Position at the start of the control's items
 WComboBox:Init()        Construct a combo box object
 WComboBox:Len()         The number of items in the control
 WComboBox:Seek()        Search for an item
 WComboBox:Skip()        Change the current position
 
 Inherits From
 WControlWindow
 
 Inherited By
 Nothing.
 
 Description
 This is the class for combo box controls.  You can use a
 number of properties and methods in a similar manner to
 database files (tables) or Clipper data types, such as
 GoBottom(), RecCount, Len() and Skip().
 
 Because Clip-4-Win uses "smart dialogs with dumb controls",
 few properties and few methods are required in this class or
 most sub-classes.  (The WDialog class provides the logic,
 rather than spreading it across the controls.)
 
 Example
 @ Id IDD_CBOX  Obj ::oCB   ComboBox  Items {"A List", "Of Choices"}
 
 See Also  (press Enter)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson