IIRC J8 form keyhandler is not a preview hook.  It can only get key events
that were not accepted by widgets. isigraphs specifically ignore keys such
as function keys to let their parent forms to handle. tab event is handled
by Qt and not passed to isigraphs and parent forms.
 On May 10, 2015 12:25 AM, "'Pascal Jasmin' via Programming" <
[email protected]> wrote:

> A form keyhandler would also be useful in validating controls on
> tab/focus.  I guess it creates event spam, and so there is good reason to
> avoid it, but a form property that defaults to disabled, but allows
> keyboard preview and/or control focus events could be helpful.
>
> Not that it helps in your case, but my validation needs can be handled by
> a timer that can make good interfaces with workarounds, but are unusual.
>
> One way I'd look into for your issue is adding a button to the debug form
> and setting its accelerator key.
>
>
> ----- Original Message -----
> From: Henry Rich <[email protected]>
> To: Programming forum <[email protected]>
> Cc:
> Sent: Saturday, May 9, 2015 11:58 AM
> Subject: [Jprogramming] Can a non-isidraw form intercept ctrl-J?
>
> I want a window (in particular, the Debug window) to treat ctrl-J as a
> Lab Advance.  But the window doesn't have an isidraw or isigraph
> control.  Is there any way to hook a control key in such a case?
>
> Henry Rich
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to