And for an even faster listbox filling experience do this
lista.visible = false //stop all listbox updates while filling
j = val(inputeditfield.text)
for ind = 1 to j
lista.addrow str(microseconds)
next
lista.visible = true
At 3:46 PM -0400 14/4/06, Dean Davis wrote:
Exactly!
The code is much better (and I assume much faster) like this:
j = val(inputeditfield.text)
for ind = 1 to j
lista.addrow str(microseconds)
next
You original code, as you stated, has almost nothing to do with the speed of
listbox filling but with the speed of reading a value from an edit field
then turning that text into a double then turning that into an integer.
Since the workaround is so simple I'm sure improving the speed of such an
operation is very very low priority and explaing why it is so slow on some
platforms is even a lower priority.
Dean Davis
On 4/14/06, Mike Woodworth <[EMAIL PROTECTED]> wrote:
because someone from RB would have to spend time to fix this, and is
this really what you want them worrying about???
mike
--
Mike Woodworth
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
--
Cheers,
Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>