On Monday, Mar 31, 2003, at 19:36 Europe/Brussels, Will Leshner wrote:
At least in 4.5, the trick is that the window gets the event, not the
listbox. So you have to make EditCopy, EditCut, EditPaste, and
EditClear menu handlers in you Window. And you'll have to have some
way to know that there is a cell is being edited in the listbox.
Keep a global property like "pSelected as Boolean". Then set it to true
in the ListBox's CellGotFocus event, and false in the CellLostFocus
event.
Regards,
--
Owen Yamauchi
Domain Softworx
Quality shareware for the Mac
http://connect.to/domainsoftworx/
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|