Subj : Enter key and quit
To : Night_Flyer
From : Digital Man
Date : Sun Mar 18 2007 11:03 am
Re: Enter key and quit
By: Night_Flyer to All on Sun Mar 18 2007 06:48 am
> Im venturing into my first real foray into Baja outside of binding keys on m
> main menu...
>
> so far so good, but I cant seem to find where to bind the enter key to a
> default action.
>
> basically I want it to behave like a quit. hit enter and the program default
> to the end.
Enter in response to what? GETSTR or GETKEY or GETCMD?
GETSTR will return a blank (empty) string in response to the user just hitting
the enter key, where as GETKEY/CMD will set the current command key to '\r'.
See
http://synchro.net/docs/baja.html#CommandKeyConstants for more details.
digital man (xbox-live: digitlman)
Snapple "Real Fact" #120:
The only continent without native reptiles or snakes is Antarctica.
Norco, CA WX: 58.1�F, 71% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net