Skip to main content

TdxDockingManager.OnSetFloatFormCaption Event

Enables you to change float form settings when the layout of dock controls change within them.

Declaration

property OnSetFloatFormCaption: TdxSetFloatFormCaptionEvent read; write;

Remarks

The OnSetFloatFormCaption event fires each time the layout of dock controls within a float site changes. Use it if you need to change float form settings with respect to the current dock controls layout. Most commonly, you will use this to specify the caption of the floating form.

The Sender parameter of the event identifies the float site. Use its Child property to access the dock control residing within it. The children of dock control obtained can be accessed via its Children property, etc.

The AFloatForm parameter provides access to the float form containing the site.

Note that you can also specify settings for individual float forms. Handle the OnSetFloatFormCaption event of the corresponding float site for this purpose.

See Also