Enrico,

Il 22/02/2009 16.14, Enrico Maria Giordano ha scritto:

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).

ok, I misunderstood because you stated that you are testing OVERRIDE, so I was expecting that you provide also MySetPos().

Add to your sample Display() method:

FUNCTION MAIN()

   LOCAL GetList := {}

   LOCAL cVar := SPACE( 35 )

   @ 1, 1 GET cVar

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

   READ

   RETURN NIL

and it works.

Best regards

Francesco

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to