I am trying to use Result from AfterExecuteWindow.
procedure AfterExecuteWindow(WindowType, Result: Integer);
begin
ShowMessage('AfterExecute ' + IntToStr(WindowType) + ' ' + IntToStr(Result));
end;
According to plugin documentation I should get 0,1 or 2 as Result. However, when I open an SQL window and execute a successful or erroneous query, I always get the following output, what am I doing wrong?
AfterExecute 1 1702356