Questions tagged [topendialog]

topendialog is a non visual VCL component wrapping a file-selection dialog. It is defined in Dialogs.pas.

42 questions
0
votes
0 answers

BUG in Embarcadero XE6 C++ problem with chinese fonts in right-click menu on SaveDialog / OpenDialog

I'm looking for a solution how to fix the bug in SaveDialog / OpenDialog. In right-click menu I see the menu with chinese fonts. Problem exist only when I change the Project Appearance -> i.e. using Carbon style. When using Windows regular style -…
0
votes
1 answer

How to get OpenDialog to change the current directory when a file is selected?

I have ported a C++Builder 6 application to compile with C++Builder 11. One issue I have found in testing is that the TOpenDialog behaves differently between the two versions. The C++Builder 6 version changes the current directory when Open is…
Mark Di Val
  • 81
  • 1
  • 7
0
votes
1 answer

Draw a "TPanel" in WINAPI?

I want to extend an open/save dialog with a "drop-box" which should look like a TPanel (bevel). The code is already there - I use CreateWindowEx() with WNDCLASS name "Edit". I have searched for a solution to draw a TPanel (resp. a beveled STATIC)…
Daniel Marschall
  • 3,739
  • 2
  • 28
  • 67
0
votes
0 answers

How to use TOpenDialog to get the full path name from external device (android tablet, iphone)

I have come across the same issue described in the following link, however I'm using Delphi XE2 instead: Delphi - How to get Directory with OpenDialog using iPhone as a picture source If anyone could offer any help, it would be much appreciated.
6String_Coder
  • 517
  • 10
  • 30
0
votes
3 answers

GetDir in Delphi2010 not working under Windows 7?

I have the following sequence of commands in Delphi2010: var netdir:string; .... OpenDialog1.InitialDir:=netdir; .... OpenDialog1.Execute... .... GetDir(0,netdir); .... After executing OpenDialog I should have in string netdir the…
Petra
  • 803
  • 1
  • 11
  • 12
0
votes
0 answers

Populating multiselect OpenDialog with a series of filenames

I use an OpenDialog with Multiselect enabled to allow more than one jpg file to be displayed on a screen. When the dialog is closed, I iterate through the Files list and create a delimited string of filenames which is stored in a memo field of an…
TrevorH
  • 49
  • 4
0
votes
1 answer

OpenDialog disappears while running my program

I'm using Borland C++Builder 6. TOpenDialog disappears while running my program. What can be the reason? Which property on the form\open dialog is responsible for this behavior?
user687459
  • 143
  • 5
  • 17
0
votes
2 answers

Passing file path in Delphi from TOpenDialog as a string

I'm trying to make use of the TOpenDialog in order to pass the path to selected file to the AdoConection and load the content of the Excel file to the table. I'm currently attempting the code below but the last part of the code does not connect to…
Konrad
  • 17,740
  • 16
  • 106
  • 167
0
votes
0 answers

Delphi - How to get Directory with OpenDialog using iPhone as a picture source

I have a Delphi app (D2010) which lets the user select a JPG file via an OpenDialog. When I select the file from a normal Windows directory, my TOpenDialog.Filename contains the FULL PATH to the file, and my code works. The issue I am running into…
user1009073
  • 3,160
  • 7
  • 40
  • 82
0
votes
1 answer

Dynamics CRM: Javascript triggers open dialog

I am trying to create javascript to open a dialog. once the value of a field called 'new_mstatus' on the current record is equal to 'Inactive' and user intends to open this record, a dialog will open. function opendialog() { …
0
votes
1 answer

Delphi 7 OnTypeChange not updating

I am using a TOpenDialog to allow the user to open 3 different types of files. When showing the initial directory it lists only the files that match the current extension type chosen which is what I want. However, when the user selects one of the…
user1429254
  • 327
  • 1
  • 3
  • 10
-1
votes
1 answer

How I could to forbid show of hidden/system files in TOpenDialog?

I tried to write a program for safe deleting files. However, I have a problem with deleting system files (recycle bin etc.). Now my question is. Which way to hidden files (from users) at this dialog. Other files I add to listview and then rewrite…
Viktorianec
  • 361
  • 6
  • 22
1 2
3