ImageEn, unit iexUserInteractions

TIEButtonInteraction.FindButtonAt

TIEButtonInteraction.FindButtonAt


Declaration

function FindButtonAt(X, Y: Integer; out Button: TIEVButton): Boolean;


Description

Returns true if a button is found at the screen position, X, Y.
Button button will return the found button if result is true.


Example

b := ImageEnView1.ButtonParams.FindButtonAt( x, y, btn );
if b then
  case btn of
    iebtPrevious: PrevImage();
    iebtNext    : NextImage();
  end;


See Also

 ShowButtons