Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxFloatDockSite.OnSetFloatFormCaption Event

In This Article

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

#Declaration

Delphi
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.

See Also