realbasic-nug
[Top] [All Lists]

Re: Listbox: What's wrong here?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox: What's wrong here?
From: Tim Jones <tjmac at tolisgroup dot com>
Date: Mon, 30 Apr 2007 13:27:38 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <79448B3C-08BA-45A3-89CB-A0739A3E4355 at bebosoft dot com>
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>


<Prev in Thread] Current Thread [Next in Thread>