Lisp HUG Maillist Archive

CAPI: How to get signal on loosing focus from pane

Hi
 
Please, help me with some CAPI vagueness . One problem was I did not found TEXT-INPUT-RANGE pane analog for real values. So I decided to use TEXT-INPUT-PANE, but how to catch moment when TEXT-INPUT-PANE lost focus (LispWorks for Windows) ? I specify COMPLETION-FUNCTION and press 'Tab' key, but it does not call the callback for unknown reasons. I also should mention that user can leave pane by mouse click on different pane. So how to catch focus loosing ?
 
Thanks in advance
Lisper

Re: CAPI: How to get signal on loosing focus from pane

Hello lisptracker,

| Please, help me with some CAPI vagueness . One problem was I did not
| found TEXT-INPUT-RANGE pane analog for real values. So I decided to use
| TEXT-INPUT-PANE, but how to catch moment when TEXT-INPUT-PANE lost
| focus (LispWorks for Windows) ? I specify COMPLETION-FUNCTION and press
| 'Tab' key, but it does not call the callback for unknown reasons. I
| also should mention that user can leave pane by mouse click on
| different pane. So how to catch focus loosing ?

AFAIK, there is no direct way on LWW 4.3. As an alternative, you can loop
over panes and check CAPI:PANE-HAS-FOCUS-P.
--
Sincerely,
Dmitri Ivanov
lisp.ystok.ru


Updated at: 2020-12-10 08:54 UTC