Dear Friends,
Does someone have a dialog for choosing a database name in a mysql
server, similar in look and feel to the open/save file dialog? I am
writing a little dialog, but was hoping for something better...
Thanks!
Leo.
···
========================================================================
Leonardo B. Lopes leo@iems.nwu.edu
Ph.D. Student (847)491-8470
IEMS - Northwestern University http://www.iems.nwu.edu/~leo
Leonardo B. Lopes wrote:
Does someone have a dialog for choosing a database name in a mysql
server, similar in look and feel to the open/save file dialog? I
am writing a little dialog, but was hoping for something
better...
Why would you want to emulate the open/save dialog? There's no added
value in that, particularly as that's a platform specific dialog. It's
much easier, not to mention clearer and more consistent, to use a
wxSingleChoiceDialog.
Robert Amesz
Why would you want to emulate the open/save dialog? There's no added
value in that, particularly as that's a platform specific dialog. It's
I guess my motivation is sort of a bastardization of the Unix file
concept. I have a system which saves its objects as mysql database files,
and I feel that my users would be comfortable with a dialog that
looked/felt like a File open/save dialog.
It's
much easier, not to mention clearer and more consistent, to use a
wxSingleChoiceDialog.
I disagree with you on that. As I said, I think a file is a file is a file
no matter what the internal structure of the file is. Also, the
operations involved are the same, for the most part, and users are
familiar with the file open/save dlg. I agree that the abstraction is not
perfect, but it is pretty close. And a wxSingleChoice (actually that is
part of my current implementation) doesn't allow for choosing a new name.
So I had to add a wxTextCtrl anyway, which makes the dialog look like a
broken wxFileDlg... That is what I wanted to avoid...
Cheers!
Leo.
···
========================================================================
Leonardo B. Lopes leo@iems.nwu.edu
Ph.D. Student (847)491-8470
IEMS - Northwestern University http://www.iems.nwu.edu/~leo