
How I can select a small portion of a text in a StringGadget and after delete him?

Thanks.
Code: Select all
SendMessage_(GadgetID(#StringGadget), #EM_SETSEL, 2, 5) ; select the chars from 2 to 5
SendMessage_(GadgetID(#StringGadget), #WM_CUT, 0, 0) ; Cut it and place it in the clipboard