[Lazarus] TCustomControl.Caption setter needs Invalidate

Ondrej Pokorny lazarus at kluug.net
Sun Jul 30 07:52:06 CEST 2017


On 30.07.2017 0:50, Alexey via Lazarus wrote:
> TCustomControl.Caption setter
> (ie TControl.SetText)
> misses Invalidate call.
> So, my ATButtons (ATButton based on CustomControl) miss
> visual update, when user changes app i18n.

TCustomControl doesn't paint the caption so it doesn't need the 
Invalidate call.

Ondrej




More information about the Lazarus mailing list