[Lazarus] Compile conditionals from Delphi do not work in Laz 1.6...
Bart
bartjunk64 at gmail.com
Fri Jul 22 13:00:09 CEST 2016
On 7/22/16, Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:
> I know all that, I checked before I replied. My point is you have a
> DIRECTORY select dialog, but you have to use a Filename property to
> retrieve the selected Directory Name. Makes no sense.
>
> If you must use the TFileDialog functionality, then at least add another
> class in the hierarchy (eg: TCustomFileDialog) where properties like
> "DefaultExt", "FileName", "Files" etc are not published. Then
> TSelectDirectoryDialog can descend from that, and then publish a
> "Directory" and "DirectoryList" (if multiple directory selection is
> supported) properties which internally reads the Filename value.
It will break every existing program that uses this dialog (including the IDE).
>
> As it is now, the usage is messy.
Unfortunately yes.
Bart
More information about the Lazarus
mailing list