My Main.prg starts off something like this
So I have (more of less) just a blueish screen and a menu.
Since I enter a patient's last name at this point AS A MATTER OF ROUTINE... is there some way I can accept keyboard data and .. if it is a character.. start up the patient search form that I have written.
Currently to find a patient.. I type <alt> P (atient) F (ind) and up comes the correct form
I did make a blank form and used the KeyPress event to start the Patient Search form which works... but is there something in _screen which will do it for me ?
FoxEgg
Code:
_screen.caption = "Socrates"
_screen.backcolor = RGB(50,100,255)
_screen.windowstate = 2 && = 2 Maximized (enlarged to fill the screen)
_screen.closable = .f. && False (.F.)
****asks for a password then if OK
SET DEFAULT TO "C:\foxegg"
DO (gc_menupath + "mainmenu.mpr")
So I have (more of less) just a blueish screen and a menu.
Since I enter a patient's last name at this point AS A MATTER OF ROUTINE... is there some way I can accept keyboard data and .. if it is a character.. start up the patient search form that I have written.
Currently to find a patient.. I type <alt> P (atient) F (ind) and up comes the correct form
I did make a blank form and used the KeyPress event to start the Patient Search form which works... but is there something in _screen which will do it for me ?
FoxEgg