Recent

Author Topic: OpenDialog and Settings  (Read 5859 times)

mori

  • Newbie
  • Posts: 1
OpenDialog and Settings
« on: September 03, 2006, 02:19:56 pm »
Sorry, I'm new here and my english is very broken.
In my OpenDialog (gtk), I will not see follow features:
Create_Dir
Delete_File
Rename_File
and Desktop.
You can help?

MfG mori

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: OpenDialog and Settings
« Reply #1 on: September 22, 2006, 07:34:49 pm »
> Create_Dir
> Delete_File
> Rename_File

Please create a feature request on the bug tracker so it won´t be forgotten.

> and Desktop.

The desktop folder is a Windows concept that does not exist under linux. The desktop exists, but it can be implemented very differently on each window manager and isn´t necessarely a folder, and if it is, it´s location varies a lot.

Onjahyr-BR

  • Full Member
  • ***
  • Posts: 121
RE: OpenDialog and Settings
« Reply #2 on: September 22, 2006, 09:50:16 pm »
generally path is the directory: /home/Desktop

var
dirHome: String;

procedure...
begin
dirHome:=ExtractFilePath(GetAppConfigDir(False));
dirDesktop:=dirHome+'Desktop'
OpenDialog1.InitialDir:=dirDesktop;
end;

or

use "Shell Script" for searching with the command "find" the directory "Desktop", the result save in one string... (OpenDialog1.InitialDir...).

 

TinyPortal © 2005-2018