A_Radiolog_inFoxPro
IS-IT--Management
Dear All ,
Happy holidays and all the best to all and a happy new year to everyone.
Now a peculiar request:
The code :
"
** Say something on screen
@ 1.5,24 say "*********" font "ARIAL" ,19 style "BU" color w+/g
** Say something more on screen
@ 5,24 say "***********" font "ARIAL" ,19 style "BU" color w+/g
** Draw me a text box to input my values
@ 10,60 GET some_variable pict '99999999999999999' color ,b+/w*,g/g font "Courier new",14 style ;
** Draw me some buttons to get the job done
@ 20,50 get ch function "*TH \<1. FIND;\<2. Find a different way;\<3. QUIT" font "ARIAL" ,13 style "b" size 2,25,0.5
** TH VS TV : - TH = Horizontal , TV - Vertical
** Get the answer of the user from ch procedure.
READ cycle
***Do case for every option.
"
Now the question is, I want a way to be able to as soon as I input a value in the text box and hit enter key to execute some other procedure down the line.
With any way I try to do it I am unable to type anything in the text box because the software runs in an infinite loop.(and always re-draws the box and everything.
Lastly I have several ways to search for my number so I want to have the main way of searching to an alternative ( that will be also used to work with the numbers on the buttons them selfs or I will make some letter being the shortcut. )
Don't ask me why I am using this palaeolithic way to create a form but this is the only way I manage to make this work ( the software is inherited by an old programmer that never has being optimised.)
Thank you in advance for all the help,
Merry Christmas and a Happy new year
The Doc
Happy holidays and all the best to all and a happy new year to everyone.
Now a peculiar request:
The code :
"
** Say something on screen
@ 1.5,24 say "*********" font "ARIAL" ,19 style "BU" color w+/g
** Say something more on screen
@ 5,24 say "***********" font "ARIAL" ,19 style "BU" color w+/g
** Draw me a text box to input my values
@ 10,60 GET some_variable pict '99999999999999999' color ,b+/w*,g/g font "Courier new",14 style ;
** Draw me some buttons to get the job done
@ 20,50 get ch function "*TH \<1. FIND;\<2. Find a different way;\<3. QUIT" font "ARIAL" ,13 style "b" size 2,25,0.5
** TH VS TV : - TH = Horizontal , TV - Vertical
** Get the answer of the user from ch procedure.
READ cycle
***Do case for every option.
"
Now the question is, I want a way to be able to as soon as I input a value in the text box and hit enter key to execute some other procedure down the line.
With any way I try to do it I am unable to type anything in the text box because the software runs in an infinite loop.(and always re-draws the box and everything.
Lastly I have several ways to search for my number so I want to have the main way of searching to an alternative ( that will be also used to work with the numbers on the buttons them selfs or I will make some letter being the shortcut. )
Don't ask me why I am using this palaeolithic way to create a form but this is the only way I manage to make this work ( the software is inherited by an old programmer that never has being optimised.)
Thank you in advance for all the help,
Merry Christmas and a Happy new year
The Doc