Four Js Development Tools Forum

Discussions by product => Genero Studio => Topic started by: KUCZYNSKI G. on April 06, 2014, 04:19:37 pm



Title: OPTION ACCEPT KEY Fn SEEMS TO BE INOPERATIVE
Post by: KUCZYNSKI G. on April 06, 2014, 04:19:37 pm
Hi,
I have to move TUI application to GUI. Inside the previous programmer worked like following :  , default ACCEPT KEY was not used and the way to disconnect this key was to write OPTION accept key F64 (key never used) and programming the actions with fgl_key VALUE..test

IT apprears that in genero the instructions :
options accept key F64
 LET x =  fgl_keyval("ACCEPT")
DISPLAY "accept : ", x

gives always same value (2016) even if i change F64 by Return or other key...
do i make a non sense?
thanks



Title: Re: OPTION ACCEPT KEY Fn SEEMS TO BE INOPERATIVE
Post by: Sebastien F. on April 07, 2014, 10:27:40 am
Hello,

I think you should re-consider the way you handle the "accept key" in you application.

With Genero, the "accept" key is typically [Enter]/[Return] and it should be available, to follow GUI standards.

Instead of starting a long discussion in this forum, may I suggest that you contact your support for assistance on your TUI to GUI migration project? There are certainly other areas you need to review...

You should also have a look at this upgrade guide:

https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#c_fgl_Mig0000_001.html

Seb