When double clicking an existing image, I wish the dialog would scroll the current file into the view.
Because I created allot of manuals from RTF import and am renaming allot of the auto-named files. So I'm having to "hunt" for the current name.
But I DO appreciate the preview AND click for larger preview - that's handy!
Open image dialog - preselect current
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23174
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Open image dialog - preselect current
Hi Ron,
It would be nice. Unfortunately there is no Windows open file dialog that supports that. The most you could do would be to include the filename itself as a filter. But then it would only show that file, and that would cause more problems than being a help.
It would be nice. Unfortunately there is no Windows open file dialog that supports that. The most you could do would be to include the filename itself as a filter. But then it would only show that file, and that would cause more problems than being a help.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Open image dialog - preselect current
Hi Tim,
It's easy to do if you use the old Windows3.1 controls, TFileListBox etc. Which work just fine in Delphi and on Windows10. I use them myself to provide greater flexibility than the standard Windows Open/Save file dialogs.
You can use all the usual string list functions on them. They work great:
Code: Select all
with FileListBox1 do ItemIndex:=Items.IndexOf('test_image.png');
cheers,
Martin.