Dear all,
How can I get the ‘rid’ of the widget that lost focus.
i.e. I have several text widget’s and a numerical keypad widget in the
same window. When I press with the mouse on the keypad, the hitted
button will get the focus. The button information should then after
release be forward to that text widget.
Any idea ?
Thank you
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------
Edgar Dieperink
Attach a callback to the keypad widgets:
Either Pt_CB_ARM or Pt_CB_ACTIVE
In the callback, set the text widget
Markus
“Edgar Dieperink” <dieperie@iprolink.ch> wrote in message
news:3B20AA6A.A969A3FE@iprolink.ch…
Dear all,
How can I get the ‘rid’ of the widget that lost focus.
i.e. I have several text widget’s and a numerical keypad widget in the
same window. When I press with the mouse on the keypad, the hitted
button will get the focus. The button information should then after
release be forward to that text widget.
Any idea ?
Thank you
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------
Edgar Dieperink
Dear Markus,
thanks for the information. In reality here is what I was looking for :
How can I trace back which widget had focus.
i.e Cursor was on a text widget, and I pressed a button.
I would like, when I press that button for instance, that the button
callback sends the result to any of the text widgets that had focus.
Thanks a lot.
Markus Loffler wrote:
Attach a callback to the keypad widgets:
Either Pt_CB_ARM or Pt_CB_ACTIVE
In the callback, set the text widget
Markus
“Edgar Dieperink” <> dieperie@iprolink.ch> > wrote in message
news:> 3B20AA6A.A969A3FE@iprolink.ch> …
Dear all,
How can I get the ‘rid’ of the widget that lost focus.
i.e. I have several text widget’s and a numerical keypad widget in the
same window. When I press with the mouse on the keypad, the hitted
button will get the focus. The button information should then after
release be forward to that text widget.
Any idea ?
Thank you
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------
Edgar Dieperink
–
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------
| Edgar Dieperink | Home : +41-(0)21-828.20.11 |
| Rue du Fort 22 | Facsimile : +41-(0)21-828.20.19 |
| CH-1188 Gimel | Office : +41-(0)22-995.00.51 |
| Switzerland | e-mail : dieperie@iprolink.ch |
| | http : www.up-all-night.ch/~dieperie/ |