hi,

Friday, April 9, 2010, 17:31:56, "Massimo Belgrano" wrote:

> afaik harbour is compatible with clipper5.2
> http://www.ousob.com/ng/53guide/ng64c89.php

> i suggest use #include "Inkey.ch"
> and then use if LASTKEY() = K_ENTER      
> istead if LASTKEY() = 13

> K_CTRL_ENTER  instead 10

thanks, but this will not fix my problem.

can someone test my program on clipper 5.2 and see how ctrl-enter and
ctrl-pgdn perform?

and, if 5.2 is performing differently than S87, can someone tell me
where to change this?

thanks.


> 2010/4/9 chris lueders <harbour-l...@cxxl.de>
> 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.

> i would try to change that behaviour myself, but i don't know where to
> start looking.

> can anyone help?


> proof of concept code:

>   private x, y
>   x = "123"
>   y = "   "
>   @ 0,0 get x valid showlast(0)
>   @ 1,0 get y valid showlast(1)
>   read

> function showlast
>   parameter r
>   @ r,20 say lastkey() picture "9999"
> return .t.

-- 
/chris/

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to