|
|
Question : Does Perl/TK have common dialogs for open file/save file similar to VB?
|
|
I know Visual Basic has built in Common Dialog Control for an open file or save file dialog box. Does Perl/TK have anything similar? (In-other-words, a predefined set of dialog boxes for open file or save file.) I am interested in something that could work on both UNIX and NT.
|
Answer : Does Perl/TK have common dialogs for open file/save file similar to VB?
|
|
Look at the widget demo program that comes with the Perl/Tk distribution (its name is, appropriately, 'widget').
Run the demo and look for the entry 'File selection sialog' under the section 'Common Dialogs'.
When you click on you will see a dialog box with some options. You will also see a 'See Code' button, which displays the code used to display the boxes.
|
|
|
|