Change SaveDialog (add controls) lazarus / 31-LCL ---------------------------------------------------------------------- Yakumo500 · 2010-11-17 10:23 Hi, Is it possible to change the SaveDialog under Windows and Linux like this -> http://www.askdavetaylor.com/0-blog-pics/notepad-save-as- html.png (I mean the extra combobox at the bottom). I have found the source code for Delphi here -> http://www.michael- puff.de/Programmierung/Delphi/Code-Snippets/OpenDlg.shtml (German) but I'm not sure where I can find all these functions in Lazarus and if these functions exist for Linux. I need this for a text editor where you can choose between UTF8 and ANSI encoding. ---------------------------------------------------------------------- ivan17 · 2010-11-17 14:14 Quote from: Yakumo500 on November 17, 2010, 11:23:26 amHi,Is it possible to change the SaveDialog under Windows and Linux like this save dialog is not a lcl form it is provided by system (widgetset, that is). yes it can be modified but there is NO platform-independent way. you can change everything in a windows-save dialog using native winapi procedures. and you can probably change kde-style save dialog through qt natives. and gnome-style dialog by using gtk2 functions... dissuaded yet? Quote from: Yakumo500 on November 17, 2010, 11:23:26 amI need this for a text editor where you can choose between UTF8 and ANSI encoding. i'd go for two dialogs (one for encoding, one for filename) or two menu items in file menu. not a fancy solution, but simple and fully cross-platform. ---------------------------------------------------------------------- Yakumo500 · 2010-11-17 17:32 Well, thanks. I think I will save in UTF8 as default and add a menu entry under export to save as an ansi file.