On Apr 30, 2007, at 11:26 AM, Giuseppe Farese wrote:
> Hello:
>
> I'm using RB2007r2 and I'm trying to add rows to a listbox.
>
> After adding the first row, the method ends abruptally.
>
> This is the first time in many years of using RB that I get this
> strange behavior.
>
> A movie with a step by step in the debugger is here:
>
> http://www.bebosoft.com/tmp/RB-Debugger.mov
Try putting a statictext on the window and display the Str(Cnt) value
with each iteration.
Also, when populating the listbox, try using
lbPastIntentions.LastIndex instead of lbPastIntentions.ListCount -1
Tim
--
Tim Jones
tjmac at tolisgroup dot com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|