problem with forms
Posted on 1999-01-23
with the help of the menu-editor I created
a menue with the entry "File/New".
To this event I assigned this procedure:
procedure TfrmMainMenu.InputDataClick(Sender: TObject);
The EntryForm which now is displayed on the screen
contains several editboxes which can be filled by the user at runtime.
In order to finish the filling of the EntryForm I added one command button
and a savedialog control to my EntryForm.
If you click on the button, the program asks for a filename, to which all
contents of my editboxes will be written:
procedure TfrmEntryForm.ButtonSaveDataClick(Sender: TObject);
if savedialog1.execute then
until (messagebox(0, 'Do it again ?', 'Question', 36) <> 6);
Now my problem is: I can only once fill the editboxes of this EntryForm.
As soon as the repeat-until loop is processed the second time, I am only prompted for a filename.
In the background I still can see the EntryForm, but I have no possibility to input new data to
Can you please tell me how I can avoid this problem ?
With kind regards