Hi I've a problema with a Component TOracleDbNavigator. I need to close a form when the user click on the cancel button.
procedure Form1.DbNavigator1Click(Sender: TObject;Button: TOracleNavigateBtn);
begin
if (Button = nbCancel) then Close;
end;
The error in design is:
Incompatible types: 'TOracleNavigateBtn' and 'TNavigateBtn'.
Ok. But if I compare Button with onbCancel the message is onbCancel not found.
What's the problem?? Thanks.
procedure Form1.DbNavigator1Click(Sender: TObject;Button: TOracleNavigateBtn);
begin
if (Button = nbCancel) then Close;
end;
The error in design is:
Incompatible types: 'TOracleNavigateBtn' and 'TNavigateBtn'.
Ok. But if I compare Button with onbCancel the message is onbCancel not found.
What's the problem?? Thanks.