I'm needing to process certain function keys while editing inside a richtext edit control. My code looks something like this:
Code: Select all
::oRtf:bKeyDown := {| nKey | ::ProcessMacroKeys( nKey ) }
...
//----------------------------------------------
METHOD ProcessMacroKeys( nKey ) CLASS PATHTRANS
Local cMacro := Spac( 9 )
logfile( "trace.log", { nKey } )
....
Reinaldo.