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 Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour