Skip to main content

TdxRectWrapper.OnChanging Event

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

Declaration

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