Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Hi, I have written a simple C program that is using a UID compiled file in order to get 3 text fields. The text fields are 3 simple_text widgets the are children of a popup_dialog_box widget. Moving from one field to another by the pointer (mouse) is done w/o any problem, but, doing it with the TAB key produces 2 lost_focus events. My question is, why 2 events and not 1 (like the mouse selection)? Is it a bug? If yes how can I work around it? If not, what is wrong? I have tried it versions 1 & 2 of DECwindows. Thanks in advance, *-Doron-* The UIL object declaration looks like: . . . object n_form : popup_dialog_box { arguments { take_focus = true ; x = 100 ; y = 70 ; }; controls { simple_text n_x1 ; simple_text n_y1 ; simple_text n_z1 ; } ; }; object n_x1 : simple_text { arguments { x = 10 ; y = 10 ; width = 40 ; max_length = 9 ; } ; callbacks { lost_focus = procedure CallBack( C_X1 ); } ; } ; . . .
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2024.1 | ...a little help | GSRC::WEST | Variables don't, Constants aren't | Thu Jan 11 1990 00:36 | 10 |
I can't recall which conference, but this was discussed somewhere. I do recall something about there being two different reasons activating the LostFocus callback, and if I'm not mistaken the reasons were NotifyGrab and NotifyWhileGrabbed. Hope this helps some... -=> Jim <=- | |||||
2024.2 | Thanks, but yet... | TAVHLT::DORON | Doing my BEST !!! | Thu Jan 11 1990 05:32 | 12 |
RE: .0 > I can't recall which conference, but this was discussed somewhere. I do >recall something about there being two different reasons activating the >LostFocus callback, and if I'm not mistaken the reasons were NotifyGrab and >NotifyWhileGrabbed. > I am afraid this does not help. Can any one relate? Thanks, *-Doron-* | |||||
2024.3 | more help... | GSRC::WEST | Variables don't, Constants aren't | Thu Jan 11 1990 11:24 | 8 |
In this conference and in HARBOR::DECWINDOWS_PROGRAMMING and in CLT::DECWTOOLKIT try doing a DIR/TITLE=LOST. I know this will start you on your way... -=> Jim <=- | |||||
2024.4 | Thnx. | TMIS01::DORON | Doing my BEST !!! | Thu Jan 11 1990 12:41 | 6 |
Thanks, There is a dicussion about it in the DECWINDOWS_PROGRAMMING (95). *-Doron-* |