I'm needing to process certain function keys while editing inside a richtext edit control. My code looks something like this:
- Code: Select all Expand view
::oRtf:bKeyDown := {| nKey | ::ProcessMacroKeys( nKey ) }
...
//----------------------------------------------
METHOD ProcessMacroKeys( nKey ) CLASS PATHTRANS
Local cMacro := Spac( 9 )
logfile( "trace.log", { nKey } )
....
Nothing logs. The ProcessMacroKey method never gets called. What am I missing here?
Reinaldo.