home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8615 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.0 KB

  1. Path: sparky!uunet!ukma!gatech!news.ans.net!cmcl2!adm!news
  2. From: zbych@halina.univ.gda.pl
  3. Newsgroups: comp.lang.pascal
  4. Subject: TListBoxer IooI
  5. Message-ID: <35269@adm.brl.mil>
  6. Date: 28 Jan 93 12:30:59 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 21
  9.  
  10. Hi Netters!
  11.  
  12.  
  13. Turbo Vision 2 questions:
  14.  
  15. In TListBox when I want to actualize my List, I make a copy,
  16. for instance PomList, and then add or remove particular
  17. elements of the list and at last execute : MyListBox^.NewList(PomList).
  18. I do it, because TListBox.List is readonly, but I have to have 2 times more
  19. memory needed during this operation. Is there any simpler and less
  20. memory_consuming metod of acualizing List in TListBox.
  21.  
  22.    And the second question? Is there any trick to display long, very long
  23. lists in ListBox and not keep the whole list in memory. In the case of 
  24. approximately 1000 elements of 200B size, it is 200 KB. (and internal
  25. SortedCollection allocations for each element).
  26.  
  27. Thanks in advance
  28.                    AlexANDer
  29.                    zbych@halina.univ.gda.pl
  30.  
  31.