TdxFloatDockSite.OnSetFloatFormCaption Event
Enables you to change float form settings when the layout of dock controls change within it.
Declaration
property OnSetFloatFormCaption: TdxSetFloatFormCaptionEvent read; write;
Remarks
The OnSetFloatFormCaption event fires each time the layout of dock controls within the 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
if you need to provide common logic to modify float form settings with respect to the layout of dock controls, handle the OnSetFloatFormCaption event of the docking manager. This event’s handler affects all the float sites in the application.