realbasic-nug
[Top] [All Lists]

Re: Double Click event not firing on a Listbox when cell is editable

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Double Click event not firing on a Listbox when cell is editable
From: Tom Benson <tombenson at mac dot com>
Date: Wed, 30 Jan 2008 20:30:18 +1100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <6115AF64-54B3-4C7D-B59E-0360D5BD43F6 at alphaview dot com>
I don't believe so.

For this you'd need to handle a double click event inside the  
listboxes .activeCell property, which is actually an instance of an  
editfield control.

As this is a dynamic instance, there's no way to add event handlers.

The only way to do this is going to be to fake the editable cell  
cellType, which is a lot of work (basically a canvas based editfield).

I have done it before, but it was for a job so the code is not mine to  
distribute...

- Tom

On 30/01/2008, at 7:49 PM, Giovanni wrote:

> I am trying to have the Listbox run some code where if I double click
> the cell that I am working on, it will launch a window.
>
> But it seems that the event only fires up when the listbox isnt set to
> editable.
>
> Is there a workaround on this?
>
>
> Kind regards,
>
> Giovanni
> rbml at alphaview dot com
>
>
>
>
> _______________________________________________
> 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>