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

TdxRectWrapper.OnChanging Event

In This Article

Occurs when coordinates of a rectangle maintained by the TdxRectWrapper object are about to be changed.

#Declaration

Delphi
property OnChanging: TdxRectChangingEvent read; write;

#Remarks

Write an OnChanging event handler to change coordinates as your needs dictate. For instance, the following code allows users to avoid changing the left coordinate:

if [rsLeft] in Sides then
  Values[rsLeft] := dxRectWrapper1.Left;
See Also