[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

2024.0. "simple_text & TAB key" by TAVHLT::DORON (Doing my BEST !!!) Wed Jan 10 1990 12:27

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.RTitleUserPersonal
Name
DateLines
2024.1...a little helpGSRC::WESTVariables don't, Constants aren'tThu Jan 11 1990 00:3610
  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.2Thanks, but yet...TAVHLT::DORONDoing my BEST !!!Thu Jan 11 1990 05:3212
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.3more help...GSRC::WESTVariables don&#039;t, Constants aren&#039;tThu Jan 11 1990 11:248

  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.4Thnx.TMIS01::DORONDoing my BEST !!!Thu Jan 11 1990 12:416
Thanks,

 There  is a dicussion about it in the DECWINDOWS_PROGRAMMING (95).


			*-Doron-*