[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

1224.0. "How do you make return work on buttons." by ASDS::WALSH () Wed Aug 02 1989 19:03

How does the little outline appear on a push button.  For example the Page 
button in NOTES.  Is it the button_accelerator switch.  If so how is it used.

Dan

T.RTitleUserPersonal
Name
DateLines
1224.1default button resourceR2ME2::OBRYANWhen in doubt, let the user decide.Wed Aug 02 1989 19:1223
RE;.0          -< How do you make return work on buttons. >-

>How does the little outline appear on a push button.  For example the Page 
>button in NOTES.  Is it the button_accelerator switch.  If so how is it used.
Use the default button resource to tell the dialog box which child gets the
activation on <CR>.  (You can also tell the dialog box which button gets the
<Shift><CR> using the cancel button resource.)  In uil:


   ... dialog_box
   {
	arguments
	{
	    default_button = push_button Ok_Btn;
	    cancel_button = push_button cancel_Btn;
	};
	controls
	{
	    push_button Ok_Btn;
	    push_button cancel_Btn;
	};
...