I want to replace a TDBNavigator
with a button.
I did :
procedure TForm1.Button1Click(Sender: TObject);
begin
DBNavigator2.BtnClick(nbNext);
end;
but I got an error :
[dcc32 Error] Unit1.pas(284): E2010 Incompatible types: 'TNavigateBtn' and 'TNavigateButton'
Please, could anyone tell me how to fix this problem?