realbasic-nug
[Top] [All Lists]

Re: Listbox.CellTag problems

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox.CellTag problems
From: Tom Benson <tombenson at mac dot com>
Date: Sat, 24 Feb 2007 12:18:02 +1100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <B7DF2F2A-A46A-487B-8E6A-4EB389DECCB3 at nc dot rr dot com> <3290EB06-16D6-44DB-B458-9898ED4E240C at great-white-software dot com>
I having some weird inconsistent things happening as well.

I'm having some random issues with celltags, and I've adapted to use  
"<tablename>index</tablename>". Storing them as integers it seems was  
what was causing my issue.

I'm also having weird problems where I pass mouseX,mouseY and rect()  
as integers to a function which determines if X and Y fall within  
that rect by doing the following

Function InRect( x as integer, y as integer, rect() as integer) As  
Boolean

   dim left as integer = rect(0)
   dim top as integer = rect(1)
   dim right as integer = rect(2)
   dim bottom as integer = rect(3)

   return x>=left and x<=right and y>=top and y<=bottom

End

Sometimes it returns false, and sometimes it returns true, for the  
exact same values of X and Y !!!!! Something wrong with the int type  
I think....

- Tom


On 24/02/2007, at 8:57 AM, Norman Palardy wrote:

>
> On Feb 23, 2007, at 1:51 PM, Christian Miller wrote:
>
>> Is anybody else having listbox.celltag problems with 2077r1?
>
> WOW ! talk about back from the future :)
>
> But I'm having other weird things happen with 2007r1
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
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>