Hi all,
I've writed a simple tcl/tk text editor.
I save trough the "tk_getSaveFile" macro with the option "-filetypes $types" and I've defined the "types" variable in this way:
set types {
{"All files" *}
{"CPLEX LP" {.lp}}
{"MPS" {.mps}}
{"Text" {*.txt}}
}
Under the WindowsXP platform I open the save window, I select the file type I want to save trough the select box, then I type the file name (test) without extension, and press "save",but the file name doesn't get the extension! The only way is to type the extension by hand like "test.txt".
Under Linux everything works...why? Do I have to enable or disable any tcl_platform option?
Thanks in advance
Paolo
I've writed a simple tcl/tk text editor.
I save trough the "tk_getSaveFile" macro with the option "-filetypes $types" and I've defined the "types" variable in this way:
set types {
{"All files" *}
{"CPLEX LP" {.lp}}
{"MPS" {.mps}}
{"Text" {*.txt}}
}
Under the WindowsXP platform I open the save window, I select the file type I want to save trough the select box, then I type the file name (test) without extension, and press "save",but the file name doesn't get the extension! The only way is to type the extension by hand like "test.txt".
Under Linux everything works...why? Do I have to enable or disable any tcl_platform option?
Thanks in advance
Paolo