Okay, I solve the problem:
procedure book_edit_OnCLick(Sender: string; Action: string);
begin
editbook.Edit1.Text := book.Edit1.TExt;
editbook.Showmodal;
end;
My Visual Database → Posts by emilovbg
Pages 1
Okay, I solve the problem:
procedure book_edit_OnCLick(Sender: string; Action: string);
begin
editbook.Edit1.Text := book.Edit1.TExt;
editbook.Showmodal;
end;
I have form with some data - AutorName, BookName, boolean data and etc, all is read only. In this form I have EditButton that Show Another form, in wich I will Edit that data. Im trying some like this, but didnt work:
procedure book_edit_OnClick (Sender: string);
begin
editbook.Edit1 := book.edit1;
end;
Hi, on my main windows I have one grid and two buttons SHOW RECORD - One just show me form with read only data(ViewBook), another is EditBook - all data is editable. But on double click is opened two forms. How to make on double click to open just ViewBook and not EditBook?
ThX
Pages 1
My Visual Database → Posts by emilovbg
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi