TdxAlertWindowHitTest.HitCaptionButtonClose Property
Returns the ViewInfo information associated with the inspected point if it corresponds to an alert window‘s Close caption button.
Declaration
property HitCaptionButtonClose: TdxAlertWindowCloseButtonViewInfo read;
Property Value
Type |
---|
TdxAlertWindowCloseButtonViewInfo |
Remarks
This property returns a TdxAlertWindowCloseButtonViewInfo class instance if the HitAtCaptionButtonClose property returns True for the inspected point; otherwise, nil.
The table below lists the main TdxAlertWindowCloseButtonViewInfo properties that are useful for custom painting.
Property | Description |
---|---|
Bounds | The bounding rectangle of the Close caption button. |
Painter | The painter class that is used to paint the button. |
Enabled and State | The button’s states. |
GlyphSize | The size of an image displayed within the button. |
Note
Since methods of ViewInfo classes support the internal infrastructure and are not intended for use in your code, we recommend that you use only ViewInfo class properties.
See Also