[Lazarus] BeginFormUpdate/EndFormUpdate should be public?

Juha Manninen juha.manninen62 at gmail.com
Mon Dec 24 15:45:27 CET 2018


On Mon, Dec 24, 2018 at 11:42 AM AlexeyT via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>  I dont think so. It is ATGroups component (in ATTabs repo). This call
> is needed for me to hide flickering of controls. When ATGroups changes
> Mode prop. W/o this call, i see how child panels rearrange for 0.N seconds.

See what TCustomForm.BeginFormUpdate does. It calls DisableAutoSizing,
but only once.
Use DisableAutoSizing and EnableAutoSizing in your code and it works
equally well.

Juha


More information about the Lazarus mailing list