TFrameStand icon indicating copy to clipboard operation
TFrameStand copied to clipboard

add callback function in demo picture wall

Open kabiri opened this issue 3 years ago • 0 comments

i add callback function to demo picturewall

property OnClickResult: TProc<Boolean> read FOnClickResult write FOnClickResult;

and use it in main form

  LInfo.Frame.PositionIndex := LIndex;
  LInfo.Show;
  LInfo.Frame.OnClickResult:=
    procedure (aResult : Boolean)
    begin
     if aResult then
     begin
      response:=LInfo.Frame.PositionIndex;
      showmessage(inttostr(response));
     end;
    end;

when i click on picture LInfo.Frame.PositionIndex is last number of PositionIndex PictureWall.zip

kabiri avatar Feb 11 '21 13:02 kabiri