Hello Przemyslaw,
Thank you very much for the answer....
Really I do not need it at all, so, I tryed to recompile xHarbour
without HB_EXT_INKEY (modified hbsetup.ch) but it give to me some
compilation errors.... I have to understand why...
May be I will create a personal copy of tgetlist.prg so I can make it
working in any case....
I see that gtcrs instead works.
Thank you for clarification
Regards, Marco
Przemyslaw Czerpak ha scritto:
On Thu, 13 Aug 2009, Marco Bernardi wrote:
Hi Marco,
It seems to me that GTSLN do not send properly inkey code like defined in
inkey.ch for EXT_INKEY
I means CTRL_Y should be code 537 if xharbour is compiled with #ifdef
HB_EXT_INKEY, while it should be 25 otherwise. By default xHarbour is
compiled using #ifdef HB_EXT_INKEY, so I expect that using gtsln I receive
code 537... but it is not true and I receive 25: one of the
problem is that "get system" (tgetlist.prg) do not work properly... as it
cannot
recognize any more CTRL+key.
May somebody suggest how to make gtsln return EXT_INKEY number ?
I am using xHarbour 1.2.1 but I suppse the problem is common... let me know
if I am wrong.
HB_EXT_INKEY inkey code is xHarbour only extension which has been not
finished so far so it's not fully functional.
GTSLN has been never updated to work with it so it does not translate
CTRL+[A-Z] codes but simply returns them in raw form as ASC(<letter>)-64.
It means that it will not work for you. If you need such functionality
then you will have to add it yourself or simply recompile xHarbour
without HB_EXT_INKEY.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
|
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour