The vanilla "Open..." command (Command(4103)) being put in the toolbar comes as a button with a dropdown submenu (that consists of the recent files list and the "Delete non-existent" command).
It would be great if your plugin could repeat the said behavior of the vanilla command.
Re: FileDialog plugin
Posted: Sat Sep 07, 2024 12:19 pm
by ewild
Whether the OP modifies their FileDialog plugin or not, a user can replicate the vanilla "Open file dialog" button behavior by themselves as follows:
"RECENT"
{
# Special menu item: recent files list
RECENTFILES
SEPARATOR
# Silently delete records of non-existent files
"Delete non-existent" Command(5001)
SEPARATOR
# Manage recent files list
"Manage recent files list..." Call("RecentFiles::Manage")
SEPARATOR
# Edit this menu
"Change this menu..." Call("ContextMenu::Main",1,0,"RECENT")
}
Notes:
"Manage recent files list..." and "Change this menu..." entries aren't a part of the default submenu and have been added for convenience; feel free to just remove/comment those if you don't like the idea of them being there.
Re: FileDialog plugin
Posted: Tue Sep 10, 2024 10:13 pm
by dothen
Сделал настройки в FileDialog.ini
Re: FileDialog plugin
Posted: Fri Sep 27, 2024 9:49 am
by dothen
FileDialog plugin v1.0
+ Выбор кодировки
+ Путь в заголовке диалога
+ Очистка поля ввода имени файла