Open marco-sacchi opened 2 years ago
Implement a dialog for opening / selecting and saving a file.
The window must contain the following controls:
editbox
listbox
open
save
cancel
The difference in behavior between opening and saving consists in checking that the file exists when pressing the open / save button.
When moving in the file list or when changing directories the editbox must be synchronized accordingly, displaying the name of the selected file.
When in save mode, display a message box to confirm overwriting if the file already exists.
It remains to implement the state recovery code after a critical error (see #28).
Implement a dialog for opening / selecting and saving a file.
The window must contain the following controls:
editbox
for entering the file name or wildcard to filter the displayed fileslistbox
to view files in the current folderlistbox
for viewing the drives and folders of the current folderopen
,save
andcancel
buttonsThe difference in behavior between opening and saving consists in checking that the file exists when pressing the
open
/save
button.When moving in the file list or when changing directories the
editbox
must be synchronized accordingly, displaying the name of the selected file.When in save mode, display a message box to confirm overwriting if the file already exists.