If you have code that is calling the AddRow method of a listbox, there
is a
simple way to make your code run four times faster. Just make the
listbox
invisible (by setting its visible property to false) before loading the
data
and visible afterwards. This technique is faster because REALbasic won't
attempt to redraw the listbox after each call to AddRow.
This technique would also work with other types of controls such has
editfields.
--
Geoff Perlman
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
- - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>
|