marked String in TEXTBOX when using Mouse ?
Posted: Tue Aug 10, 2021 2:34 am
hi,
when i use TAB-Key ( CHR(9) ) a String in Textbox show "marked"
when i click into TEXTBOX nothing is "marked"
i try GOTFOCUS and
where
Cursor Caret Position is right at nEndIndex
but i "see" no "mark" in TEXTBOX ...
it does work in EDITBOX
so what i´m doing wrong under HMG
when i use TAB-Key ( CHR(9) ) a String in Textbox show "marked"
when i click into TEXTBOX nothing is "marked"
i try GOTFOCUS and
Code: Select all
hWndEdit := GetControlHandle( ControlName, ParentForm )
SendMessage(hWndEdit, EM_SETSEL, nStartIndex, nEndIndex)
Code: Select all
nStartIndex := 0
nEndIndex := LEN(String) // nEndIndex := -1 ALL
but i "see" no "mark" in TEXTBOX ...

it does work in EDITBOX

so what i´m doing wrong under HMG
