home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / CODIGO_2 / VBLISTBX / VBLISTBX.TXT < prev    next >
Encoding:
Text File  |  1992-04-18  |  1.6 KB  |  57 lines

  1.  
  2.  
  3. Control Types:
  4.    "MSList":  Multiple Selection Listbox.
  5.    "MCList":  Multiple Column Listbox.
  6.    "MSCList": Multiple Column, Multiple Selection Listbox.
  7.  
  8.  
  9. Methods:
  10.    AddItem:    Adds a string to the target listbox.
  11.    RemoveItem: Removes a string from the target listbox.
  12.  
  13. Properties:
  14.    ListCount:  Read-only at runtime, number of strings in listbox.
  15.    ListIndex:  Index of string to be manipulated.
  16.    List:
  17.  
  18. New items:
  19.  
  20.    CellWidth: Sets the pixel width of a multiple column listbox cell.
  21.  
  22.               MultCol.CellWidth = 60
  23.            or
  24.               cw = MultCol.CellWidth
  25.  
  26.  
  27.    Update:    Enables and disables automatic listbox updates.
  28.  
  29.               MultipleSel.Update = FALSE (TRUE)
  30.  
  31.  
  32.  
  33. New events supported by controls:
  34.  
  35.    Click:  Called when a listbox item is clicked on. For the multiple selection
  36.            listboxes, Item is the number of selected items. For the single
  37.            selection multi-column listbox, Item is the number of the listbox
  38.            item clicked on.
  39.  
  40.    DblClk: Called when a listbox item is double-clicked on. For multiple
  41.            selection listboxes, Item is the number of selected items. For the
  42.            single selection multi-column listbox, Item is the number of the
  43.            listbox item double-clicked on.
  44.  
  45.  
  46.  
  47. This software is free for all to use given two conditions:
  48.  
  49. 1. Credit be given where credit is due.
  50. 2. I'm not liable.
  51.  
  52. The software is dated March, 1992 and is currently owned by Mark Gamber.
  53.  
  54. Bugs, suggestions and whatnot may be sent E-Mail to PCA MarkG on America Online
  55. or to pcamarkg@aol.com through Internet.
  56.  
  57.