PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD - focus on entry field
WD - focus on entry field
Iniciado por guest, 18,mar. 2016 11:04 - 2 respuestas
Publicado el 18,marzo 2016 - 11:04
Hi,

Let say my entry field contain the value : ABCDEF

How i can focus/highlight just the 3 chars ABC, so that the user starts overwriting it, "ABC" will be overwritten immediately (it will start with *DEF).

Regards,

PETER ZHOU
Publicado el 18,marzo 2016 - 11:29
Peter,

Is this what you're looking for?
http://help.windev.com/en-US/…
Publicado el 18,marzo 2016 - 12:22
Hello Peter,

you can do that by playing with the 2 property ..cursor and ..cursorend (from the top of my head)

Something like, this, in the entry code of the field:
Myself..Cursor=0
Myself..CursorEnd=3

Best regards