| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi all! I am using Linux, xHarbour 1.0.0-beta1. Problem: function in memoedit() called with Ctrl-P will not do. inkeytst.prg shows key 16 alright. But memoedit() does not recognize it. If I assigne the function to F6 (key -5) all is right. Any suggestions? Regards Claudia |
|
#2
| |||
| |||
| Claudia wrote: > Hi all! > > I am using Linux, xHarbour 1.0.0-beta1. > Problem: function in memoedit() called with Ctrl-P will not do. > inkeytst.prg shows key 16 alright. But memoedit() does not recognize it. > If I assigne the function to F6 (key -5) all is right. > > Any suggestions? > > Regards > > Claudia > > Hi Claudia, I find that Ctrl-P works in memoedit() after I use the command: SET KEY 16 TO MyFunc() I used Harbour in Ubuntu Linux. I have not tried XHarbour. Regards, Norman |
|
#3
| |||
| |||
| Hi Norman, hi all! That was not the solution, because then I could not reuse other editing commands. I found the solution in the xHarbour source code: source/rtl/memoedit.prg: 133c133 < ::aConfigurableKeys := { K_CTRL_N, K_CTRL_Y, K_CTRL_T, K_CTRL_B, K_CTRL_W, K_CTRL_P } --- > ::aConfigurableKeys := { K_CTRL_N, K_CTRL_Y, K_CTRL_T, K_CTRL_B, K_CTRL_W } Now I have the same problem with Ctrl-P in Tbrowse object. I keep searching the source code. Regards Claudia Norman Perelson wrote: > Claudia wrote: >> Hi all! >> >> I am using Linux, xHarbour 1.0.0-beta1. >> Problem: function in memoedit() called with Ctrl-P will not do. >> inkeytst.prg shows key 16 alright. But memoedit() does not recognize it. >> If I assigne the function to F6 (key -5) all is right. >> >> Any suggestions? >> >> Regards >> >> Claudia >> >> > Hi Claudia, > > I find that Ctrl-P works in memoedit() after I use the command: > > SET KEY 16 TO MyFunc() > > I used Harbour in Ubuntu Linux. I have not tried XHarbour. > > Regards, > Norman |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.