Hi, > i used to do clipper summer 87. now i ported to harbour and find that > @ get/read behaves slightly different under harbour. > > 1) @ get/read fields can not be confirmed with ctrl-enter (chr(10)), > only with enter (chr(13)). clipper S87 will not exit the whole read > by pressing ctrl-enter, but at least lastkey() is set to 10 in a valid > function.
> 2) ctrl-pgdn will not move the cursor to the last field (as in S87), > but will exit the whole read. Harbour is compatible with C87 just like C5x is compatible with it. Probably you're experiencing C5x vs. C87 incompatibility. It's best to check it with real C5x compiler. > i would try to change that behaviour myself, but i don't know where to > start looking. > > can anyone help? You can override the "GETSYS" subsystem. F.e. you take GETSYS.PRG shipped with C52 or C53, adapt it to your liking (f.e. by extending GetApplyKey() function) and link it to your app. You can do the same with tgetlist.prg which is part of Harbour. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour