[Lazarus] Compile conditionals from Delphi do not work in Laz 1.6...

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jul 22 12:17:49 CEST 2016


On Fri, 22 Jul 2016 11:11:42 +0100
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> On 2016-07-21 23:13, Mattias Gaertner wrote:
> >> > But it seems like it does not have a property for the directory name,
> >> > maybe I can use the FileName property instead?  
> > Yes.  
> 
> That makes *no* sense for a class with the name TSelectDirectoryDialog??

TSelectDirectoryDialog is a specialized TOpenDialog.

TSelectDirectoryDialog = class(TOpenDialog)
TOpenDialog = class(TFileDialog)
TFileDialog = class(TCommonDialog)
...

Mattias


More information about the Lazarus mailing list