home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / multigrd / multigrd.frm (.txt) next >
Visual Basic Form  |  1993-08-12  |  3KB  |  79 lines

  1. MultiGrd
  2. Comments To: 71201,2304
  3. Form15
  4. List1
  5. ShowBtn
  6. EndBtn
  7. Grid1
  8. Label1
  9. Label1
  10. @    Form_Loadq
  11. added
  12. ShowBtn|
  13. Enabled
  14. EndBtn_Click
  15. GoBtn_Click
  16. grid1
  17.     Budweiser
  18. ColWidth
  19. Width
  20. Text1
  21. Visible
  22. CRLF)
  23. Lable1
  24. Caption
  25. Label1
  26. Label
  27. Height
  28. Grid1_Click
  29. ShowBtn_Click
  30. list1
  31.     adjascent
  32. selected
  33. press
  34. proof
  35. method
  36. works
  37. Beers
  38. prior
  39. usage
  40.     ListCount
  41.    This demo program illustrates how one can selectj
  42.    non-adjascent rows of a grid for further processing.i
  43.    Running the program will populate the Grid with some data.
  44.    You can then click on any column of EACH Row that you want 
  45.    to select.  When a row is selected, a ">" symbol appears in t
  46.    the first column.  To de-select a row, click on it again, 
  47.    and the ">" symbol disappears to indicate that the row is c
  48.    de-selected.s
  49.    After you have selected all the rows that you want, h
  50.    press the "SHOW" Button.  The Items in Column 1 of the 
  51.    selected rows only will be added to the list box, o
  52.    as proof that the method works.
  53.    Pressing the "END" Button ends the Program.
  54.    Questions and Comments can be addressed to:
  55. EndBtn_Click
  56. Form_Load
  57.    Sample Data for Grid(
  58. Michelob
  59. Budweiser
  60. Corona Extra
  61. Heineken
  62. Fosters
  63. Miller
  64. HomeBrew
  65.    Populate the grid
  66.    Adjust grid for display
  67.    Display Instructionsl
  68. Click on one or more rows to select
  69. Click again to de-select
  70. Press SHOW Button when done selecting
  71. Grid1_Click
  72. ShowBtn_Click
  73.   Clear the List from possible r
  74.   prior usage
  75.    Add Array item to list box if corresponding
  76.    row in grid was selectedo
  77.    If list is empty, display appropriate message
  78. No Rows of Grid Were Selected!!
  79.