-----Messaggio Originale----- Da: "Francesco Saverio Giudice" <[email protected]>
A: "Harbour Project Main Developer List." <[email protected]>
Data invio: domenica 22 febbraio 2009 15.30
Oggetto: Re: [Harbour] TGet: setting cursor position to ::nMaxLen + 1


FUNCTION MAIN()

   LOCAL GetList := {}

   LOCAL cVar := SPACE( 35 )

   @ 1, 1 GET cVar

   GetList[ 1 ]:SetFocus()
//    GetList[ 1 ]:End()
   GetList[ 1 ]:Pos = 5

   READ

   RETURN NIL

Why End() works while Pos don't? Clipper gives the same result. Probably I simply forgot nearly all related to console programming...

Could you post here your MySetPos() version ?
Or better a self contained sample.

The above sample *is* self contained. I just need to know why it doesn't work (ie. why the cursor is not set at position 5).

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to