Questions tagged [opendialog]
38 questions
45
votes
2 answers
What is the difference between the new TFileOpenDialog and the old TOpenDialog?
What is the difference between the new TFileOpenDialog and the old TOpenDialog?
In my computer (Win 7/DXE), when I run the code, the dialogs look the same.

Gabriel
- 20,797
- 27
- 159
- 293
28
votes
6 answers
Delphi - how to get a list of all files of directory
I am working with delphi, I want a list of all files of a directory when I execute openpicturedialog.
i.e., When open dialog is executed and
i select one file from it, I want the
list of all files from the directory
of selected…

Himadri
- 2,922
- 5
- 32
- 56
8
votes
2 answers
How can I show only certain file extensions in an open-file dialog?
When I open a folder with an OpenDialog, how can I filter it so users can view only certain files (e.g., Stringgrid, *.sg) and the files with any other extension do not appear in the dialog window?

Andras Kelemen
- 161
- 1
- 1
- 5
8
votes
3 answers
Electron: dialog.showOpenDialog not returning a promise?
I would like to show an Open Dialog box from within a rendered script.
I am getting conflicting information from different sources, but, as far as I can tell, the documentation at https://electronjs.org/docs/api/dialog suggests I should be able to…

Manngo
- 14,066
- 10
- 88
- 110
5
votes
3 answers
DELPHI - How to use opendialog1 for choosing a folder?
Possible Duplicate:
Delphi: Selecting a directory with TOpenDialog
I need to open a specific folder on my project. When I use opendialog1, I can only open a file. How about opening a folder ?
PS : I use Delphi 2010

Galvion
- 1,353
- 7
- 23
- 35
4
votes
1 answer
Dynamics CRM 2016 - Help on return a value from Xrm.Internal.openDialog
I'm using a 2016 on-premise dynamics crm and I want to open a popUp, select a value from a list and return it to the caller.
I can't use navigateTo and the only function that can return a value seems to be the (deprecated) openDialog.
I created 2…

Burg0
- 41
- 1
3
votes
0 answers
File manager with Firemonkey on mobile
I need to ask the user to select a file.
For Windows client I use a TOpenDialog.
On Android (and iOS) thats more difficult because TOpenDialog don't work. All subject speak about external library but all are deprecated, because sample was done with…

Bosshoss
- 783
- 6
- 24
2
votes
0 answers
How to use OpenDialog in Delphi in Android application
Can anyone helps me to open file in Android device(Samsung mobile). I want to make MP3 Player and have a button to load music playlist and then user clicks Play Button to play their list. I have used the traditional opendialog.execute but it wasn't…

Johnny
- 57
- 3
- 8
2
votes
5 answers
Delphi 7 - Embedded file open dialog in a form
Does anyone know if it is possible to embed a file open dialog inside your own form?
We have a tabbed dialog and on one of the tabs we want the user to be able to browse for a file with the same functionality as the the standard open dialog e.g. …

Jamie
- 3,150
- 2
- 26
- 35
2
votes
5 answers
How to know how many selected files in opendialog in c#?
How to know how many files selected in opendialog in c# ?

SWE
- 131
- 2
- 7
- 20
1
vote
2 answers
getOpenFileNames dialog is not centered to the main window
Why the opened dialog is not centered to the main window?
void MainWindow::on_FileOpenAction_triggered()
{
QStringList fileNames = QFileDialog::getOpenFileNames(
this,
"Open Image",
QApplication::applicationDirPath(),
…

Gad D Lord
- 6,620
- 12
- 60
- 106
1
vote
1 answer
QFileDialog showing hidden files although system setting is off
I am using the following code to show an open dialog in Qt:
QString path = QFileDialog::getOpenFileName(this, tr("Open Config File"), QDir::rootPath(), "Text Files (*.txt *.csv *.*);;");
What I realised is that this dialog also shows hidden files…

bweber
- 3,772
- 3
- 32
- 57
1
vote
2 answers
Showing a Windows Explorer Dialog from a C++ application
I have a windows application written in C++.
The application generates certain configuration files in a hidden directory.
I want to give user an option to open that directory from my application.
Clicking that option should open a windows explorer…

aksjain
- 19
- 3
1
vote
1 answer
Is it possible to programatically set the "from:" field in a Firefox file open dialog using javascript
I am generating a file open dialog which allows the user to download a blob I have generated in code. This works fine but in Firefox the "from:" field on the open dialog looks like:
from: blob:
Is it possible to programmatically set this with…

Sander Karas
- 65
- 2
- 8
1
vote
1 answer
how to change the language of opendialog in winforms?
i write a program and wnat to get the opendialog that open in my language
i try to change culture ui but it doesn't cahnge the english layout
can someone know how to change it?
OpenFileDialog openFileDialog1 = new OpenFileDialog();

user2314914
- 7
- 6