Hi, all !
How to turn off the F1...F12 keys for dialogboxes ?
Hi, all !
How to turn off the F1...F12 keys for dialogboxes ?
keystrokes are routed to the controls not to the dialog.
So you may need to modify Class TWindow method KeyDown() not to process those keystrokes
I use My.CHM for help.
SetHelpFile('MY.chm')
SetKey( VK_F1, { | nKey | My_Hlp() } )
When I press F1 at the same time appear the window of MY.CHM and message "The file My.CHM is not a file of information Windows or it is damaged". What it ?
Excuse for my English.
SetHelpFile() does not support CHM files yet.
So just use SetKey( VK_F1, { | nKey | My_Hlp() } )
Well, I deleted string SetHelpFile()
Then I press F1 and get message "No Help file aviable"
How I can solution this problem ?
FUNCTION HelpIndex()
RETURN NilSETKEY( VK_F1, { || MSGInfo("Llamando a Ayuda","Mi Función") } )