by MGA » Fri Mar 08, 2024 8:46 pm
how can I get the cursor position in a "get memo"?
ex:
xxxxx
yyyyy|(CURSOR POSITION)
oGet:GetCol() return 6
the correct one would be 11
-
MGA
-
- Posts: 1252
- Joined: Mon Feb 25, 2008 2:54 pm
- Location: Brasil/PR/Maringá
-
by Willi Quintana » Fri Mar 08, 2024 11:10 pm
Hola, prueba esto:
- Code: Select all Expand view RUN
REDEFINE GET oObs ;
VAR cObs MEMO ;
ID 119 OF oDlg
oObs:bGotFocus = { || oObs:SetSel( 0, 0 )} //,;
-
Willi Quintana
-
- Posts: 1021
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
-
by Antonio Linares » Sat Mar 09, 2024 6:55 am
oMGet:GetRow()
oMGet:GetCol()
-
Antonio Linares
- Site Admin
-
- Posts: 42118
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
-
Return to FiveWin for Harbour/xHarbour
Who is online
Users browsing this forum: Google [Bot] and 43 guests