Page 1 of 1

TEXTBOX - ACTION

Posted: Wed Aug 19, 2020 7:33 am
by serge_girard
Hello,

Is it possible to make an ENABLED textbox to act like a LABEL? If a certain TEXTBOX is enabled then when click on it to do some pre-defined action.

Reason is that I want to copy textbox content to my clipboard. When enabled it is not selectable.

Any idea?

Serge

Re: TEXTBOX - ACTION

Posted: Wed Aug 19, 2020 4:10 pm
by franco
Serge, I can mark- copy- past an enabled text box with mouse but can not find a key to do so.

Re: TEXTBOX - ACTION

Posted: Wed Aug 19, 2020 5:01 pm
by srvet_claudio
Hi,
maybe with:

CREATE EVENT ........ WND form1.editbox1.Handle MSG WM_LBUTTONDOWN

Re: TEXTBOX - ACTION

Posted: Wed Aug 19, 2020 5:28 pm
by serge_girard
Thx! I will try tomorrow, Serge