Thanks, that fixed the problem.

I also forgot to mention in my message that I'm using Windows XP and RB2006
R1 and R3.

On 7/12/06, Benjamin Brooking <[EMAIL PROTECTED]> wrote:

The listbox cell becomes an editfield (as far as I am aware) when it
is editable. That may be why the event doesn't fire.

You can use the ListBox.RowFromXY(x,y) and ColumnFromXY(x,y) methods
to get the information you want (introduced at some point in the RB
200x versions I think).

Hope this helps,
Ben

On 12/07/06, Jim Dossey <[EMAIL PROTECTED]> wrote:
> I'm having a problem with the ConstructContextualMenu event in a
listbox.
> The problem is that I need to know which cell the user clicked in, and
that
> event only gives me x,y coordinates.  I did a little testing and found
that
> the CellClick event is called before the ConstructContextualMenu event,
and
> it has row and column coords.  So I thought I would just save the row
and
> column and use them when the ConstructContextualMenu event fired.  That
> works - except when the cell the user clicks in happens to be the
> listbox.ActiveCell - i.e. that cell is being edited via a
listbox.EditCell(row,
> column) call.  When that is the case, the CellClick event does not
fire.  Is
> this a bug?

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

Reply via email to