Skip to content

DoResize - cToolbar

Sent internally if the toolbar is part of an MDI pane to automatically set its size and align it the parent's window

Type: Procedure

Syntax

Procedure DoResize

Call Example

Send DoResize

Description

The DoResize message is sent internally if the toolbar is part of an MDI panel (that is, its pbInMdiPanel property is True), to automatically set its size and align it the parent's window.

If the pbInMdiPanel property is False, and you have set the peAlign property to alTop, you should send this message to align the toolbar to the top of the parent window.