Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

@ get Push Button Problem

Status
Not open for further replies.

saliva

Programmer
Oct 16, 2001
3
PR
Hello,

I would like to know how can I make the cursor bar appears over the the default choice in a push button. In my sitution I want 'NO' choice to be highlight when read starts. This is the code I'm using.


store 'NO' to n_choice
@ 00, 01 SAY "Print a Closing Report? " GET n_choice ;
PICTURE &quot;@*HT \<YES;\!\<NO&quot; SIZE 1, 1, 2

Thanks
 
The keyword DEFAULT just assigns a default value to the variable upon execution if a value has not been previously assigned. It doesn't specify the default pushbutton to display.

Try it this way:

KEYBOARD('{RIGHTARROW}')
store 'NO' to n_choice
@ 00, 01 SAY &quot;Print a Closing Report? &quot; GET n_choice ;
PICTURE &quot;@*HT \<YES;\!\<NO&quot; SIZE 1, 1, 2
READ
Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top