I have a component inherited from a TEdit . I already have an override of CreateParams
and by default it has the following parameters:
Params.Style := Params.Style or WS_CLIPCHILDREN or ES_MULTILINE or ES_AUTOHSCROLL;
But sometimes, I would like to change these parameters by removing ES_MULTILINE
.
Specifically, in the Enter of the component, I would like to add the ES_MULTILINE
, and in Exit I would like to remove it.
Is it possible? If so, how?