Listbox.EditCell causes Listbox.LostFocus not to fire? (REALbasic network user group Mailinglist archive)

Back to the thread list
Previous thread: Age survey results
Next thread: Continue While


Re: Audience / Separation of users?   -   Rubber Chicken Software Co.
  Listbox.EditCell causes Listbox.LostFocus not to fire?   -   Bill Gookin

Listbox.EditCell causes Listbox.LostFocus not to fire?
Date: 01.03.10 01:27 (Sun, 28 Feb 2010 19:27:58 -0500)
From: Bill Gookin
Hi all,

I posted this on the forums, but since there seems to be different
folks here and there... :)

I have a listbox with a few rows and columns added in the open event.
In the CellClick event I have:
Me.CellType(row,column)tstBox.TypeEditable
Me.EditCell(row,column)

In the LostFocus event I have (for testing):
me.cell(0,0)
a" + cstr(Rnd)

Clicking in a cell will not only edit it, but also fire the LostFocus
code. ??? And when I click out of the listbox to another control,
the lostfocus code never runs. If I comment out the EditCell the
Lostfocus does fire when the listbox loses focus. I'm on Windows 7,
2010r1 and 2010r2a3.

I assume this is a bug, right? I filed a report
(feedback://showreport?report_id565) with a sample project...

Thanks,
Bill

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>





Links
MBS Realbasic Plugins - Pfarrgemeinde Ministranten Nickenich