On Sat, Feb 9, 2013 at 3:39 AM, Mukenx <muk...@gmail.com> wrote:
> I am currently using the listView in some script and I wanted to have a
> keyboard shortcut to select all rows with CTRL+A (kind of standard in
> editors, along with CTRL+C and CTRL+V, the idea being to select, copy items
> from or paste items into the listView). I did investigate the keydown of
> the listView and also got stuck in detecting the key up.
>
Hi Madou,
This is already there. There is the connectKeyPress() method of the
DialogControl class that will allow you to do what you want. It is
documented in 8.8 of the 4.2.2 version of the ooDialog docs.
There is also a convenience method connectFKeyPress().
The dialog object also has these methods which connects key presses for the
dialog
I have examples using the methods if you get stuck, but there is a pretty
good example in the doc.
--
Mark Miesfeld
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users