Hi,
is there an option (i.e. in DCGETOPTIONS) to set cursor on position 1 when an input-field
gets focus by a mouse click?
At the moment the cursor is in the middle of the text.
I use Xbase 2.00.1334 and eXpress 2.0.266
Best regards
Volker
Cursor-Position in GET
-
- Posts: 481
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Cursor-Position in GET
Hello Volker,
put this at the beginning of your app:
put this at the beginning of your app:
Code: Select all
DC_XbpGetSetInputFocusBlock({|x, y, o| NIL, ;
iif(.not. empty(o:Get:Buffer), o:Get:Pos := o:SavePos, NIL), ;
o:DateFlag := .T., ;
o:Home(), ;
DC_HiLiteGets(o, 1, o:GetList:GetOptions[nGETOPT_HILITECOLOR]), ;
DC_ColorGets(o, 1, o:GetList:GetOptions[aGETOPT_COLORGETS]), ;
NIL})
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Cursor-Position in GET
Hello Wolfgang,
that works fine - thank you very much.
Volker
that works fine - thank you very much.
Volker