andrea-magni / TFrameStand

TFrameStand and TFormStand components for Delphi FireMonkey (FMX)
Mozilla Public License 2.0
263 stars 78 forks source link

hide or HideAndCloseAll #78

Closed kabiri closed 1 year ago

kabiri commented 1 year ago

Hello what is difrent between CloseAll and HideAndCloseAll?

andrea-magni commented 1 year ago

Hi @kabiri , CloseAll method will destroy (Free) all active instances. HideAndClose will destroy (Free) all active instances but before destroying each instance, it will call Hide method and wait it to complete (i.e. if there are OnHide animations, it will wait them to complete) before proceeding to destruction of the instance.

Hope this help, I do apologize for being so late.

Reopen the issue if something's unclear.

Sincerely, Andrea