Page 1 of 1

FileDialog plugin

Posted: Thu Sep 05, 2024 12:11 am
by dothen
Диалог открытия/сохранения файла.

FileDialog plugin v1.3

upload.ee
disk.yandex.ru

Re: FileDialog plugin

Posted: Thu Sep 05, 2024 12:57 pm
by ewild
Thanks for the plugin.

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:

A ToolBar entry:

Code: Select all

# Open file dialog
# Akelpad2 style: with Recent Files submenu
"Open...|Recent Files..." Call("FileDialog::FileOpenDialog") Icon(2) Menu("RECENT")
# Vanilla: with Recent Files submenu
# "" Command(4103) Icon(2)
A ContextMenu entry:

Code: Select all

"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.

Image

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

+ Выбор кодировки
+ Путь в заголовке диалога
+ Очистка поля ввода имени файла