Board index » delphi » OpenDialog & SaveDialog save properties

OpenDialog & SaveDialog save properties

Hi,

I am searching a way to save the state of these dialogs. I wanna to save the
display view (icons, report,...) and I have no idea to do this.

Can anybody help me. ;o)

Thanx
Laurent

 

Re:OpenDialog & SaveDialog save properties


Quote
"LPA" <lpas...@wanadoo.fr> wrote in message

news:3a2ab612_2@dnews...

Quote
> I am searching a way to save the state of these dialogs.

There is an InitialDir property that allows you to set the
directory that will be displayed when the dialog is
executed. You can save it's value to a section in INI file
(add Uses IniFiles; first) or just to a text file then load
it from file. But first call ForceCurrentDirectory; in
OnCreate or OnShow event handler.

Quote
>I wanna to save the
> display view (icons, report,...) and I have no idea to do

this.

What "report" do you mean? If you want to save it as a
Bitmap use BitBlt. This will capture the entire screen
however.
Good Luck.

Re:OpenDialog & SaveDialog save properties


Hi,

"Rustam Bunyadov" <rusta...@hotmail.com> a crit dans le message news:
3a2b70d6_2@dnews...

Quote
> "LPA" <lpas...@wanadoo.fr> wrote in message
> news:3a2ab612_2@dnews...
> > I am searching a way to save the state of these dialogs.

> There is an InitialDir property that allows you to set the
> directory that will be displayed when the dialog is
> executed. You can save it's value to a section in INI file
> (add Uses IniFiles; first) or just to a text file then load
> it from file. But first call ForceCurrentDirectory; in
> OnCreate or OnShow event handler.

> >I wanna to save the
> > display view (icons, report,...) and I have no idea to do
> this.

> What "report" do you mean? If you want to save it as a
> Bitmap use BitBlt. This will capture the entire screen
> however.
> Good Luck.

I don't talk about this. I mean the toolbar in the top-left of the dialog.
You can choose the way to display the directory structure.
I want to save this param.

- Show quoted text -

Quote

Other Threads