ImageEn, unit iemview

TImageEnMView.OnChangedEx

TImageEnMView.OnChangedEx

Declaration

property OnChangedEx: TIEOnChangedEx;

Description

Occurs after changes to the structure of TImageEnMView content (adding, removing, moving of images).

Example

procedure TForm1.ImageEnMView1ChangedEx(Sender: TObject; Operation: TIEUpdateParamsOp; Index, ParamEx: Integer);
begin
  case Operation of
    iepuInsert   : Memo1.Lines.Add( Format( 'Image %d inserted', [ Index ]));
    iepuDelete   : Memo1.Lines.Add( Format( 'Image %d deleted', [ Index ]));
    iepuMove     : Memo1.Lines.Add( Format( 'Image %d moved to %d', [ Index, ParamEx ]));
    iepuSwap     : Memo1.Lines.Add( Format( 'Image %d swapped with %d', [ Index, ParamEx ]));
    iepuMoveGroup: Memo1.Lines.Add( Format( 'Images starting at %d moved to %d', [ Index, ParamEx ]));
    iepuClear    : Memo1.Lines.Add( 'All images cleared');
    iepuAllocate : Memo1.Lines.Add( Format( '%d images allocated', [ ParamEx ]));
  end;
end;

See Also

OnChanged