home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_BAS / MLIST.ZIP / BUG.TXT next >
Text File  |  1994-02-05  |  3KB  |  82 lines

  1. ***************************************************************************
  2. *
  3. *  McKean Consulting
  4. *  Robin W. McKean
  5. *  1042 Braddock Circle
  6. *  Woodstock GA  30188
  7. *
  8. *  BUG.TXT
  9. *
  10. *  Multi-Purpose List Box Control for Borland C++ 4.0
  11. *
  12. ***************************************************************************
  13.  
  14. 1.  When assigning a value to ListIndex, there is no Click or SelChange
  15. event triggered as in a regular list box.  Also the starting value is 0, not
  16. -1.
  17.  
  18. ANS.  In verions 4.20 and greater, setting ListIndex will generate a SelChange 
  19. event.  Not, that in Multiple-Select list boxes, the starting index is 0, where 
  20. the focus rect is, and not -1, like in a normal list box.
  21.  
  22.  
  23. 2.  When I SetFocus to a list configured with both grid lines on, the first
  24. line doesn't redraw its line correctly.
  25.  
  26. ANS.  Make sure that your column lengths take up the entire list box, even if you are
  27. not using the extra space at the end.  MList assumes that you are using the
  28. entire width of the list box.  (Was that that ASSUME word???)
  29.  
  30. 3.  When loading information using TextRegion and ListRegion, ListIndex is
  31. reset to -1 after first assignation.  If multiple regions have to be loaded,
  32. I have to keep the ListIndex property in a temporary variable throughout the
  33. operation and reassign it to ListIndex in order to get back to the same
  34. line.
  35.  
  36. ANS.  I really bit the bullet on multiple select list boxes.  This has been fixed.
  37.  
  38. 4.  I'm getting GPF faults when sending messages directly to the list box via
  39. SendMessage.
  40.  
  41. ANS.  I'm unable to duplicate this.  Anyone care to send me an example.
  42.  
  43. 5.  MList always reports ListIndex = 0 when a search is conducted with Multi-
  44. Select is set to true.
  45.  
  46. ANS.  This is a related Multiple-Select problem.  I appreciate both the input and
  47. your patience.  It has been fixed.
  48.  
  49. 6.  MList seems to have a problem finding things when Sorted is true.
  50.  
  51. Searches, whether sorted or not, always search from the current item in the direction
  52. specified by FindDirection property.  It will not wrap around.
  53.  
  54. 7.  Click event works differently from the standard list box which comes with VB
  55.  
  56. I haven't figured out this one.  Microsoft called their main notification event, Click,
  57. which in all other controls responds to mouse events.  Yet, the one in the list box,
  58. responds to all events which change the currently selected item, wheter that is 
  59. ListIndex, a mouse, or a key press.  Humph.  I used the SelChange event to do the
  60. same thing, because is is more indicative of what is happening to the list box.  If
  61. someone asks me to, I will provide a switch to force the Click event to behave like
  62. the SelChange event.
  63.  
  64. 8.  ItemLength returns space in pixels when it is set with twips.
  65.  
  66. Oops!  I do convert it to Pixels, but I return it NOW in twips.  There is a small
  67. conversion difference, so don't be suprised if you set ItemLength(0) = 1000 and
  68. get back 997.
  69.  
  70. 9.  The more columns I have, the more the clipping region diminished.
  71.  
  72. When setting the number of columns, MList will evenly divide the current area of the
  73. list box into the number of columns you specify.  If you want to use the horizontal
  74. scroll bar, then you must reset the ItemLength of the desired columns to extend past
  75. the edge of the list box.
  76.  
  77. 10.  Double clicking with the right mouse button acts as if I double clicked the
  78. currently selected item with the left mouse button.
  79.  
  80. This has been corrected.
  81.  
  82.