1

(1 replies, posted in General)

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;

3

(1 replies, posted in General)

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