[lazarus] Implementation of TOpenDialog multiple selectionsunder win32
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Sep 14 06:03:31 EDT 2003
On Sun, 14 Sep 2003 03:29:52 +0200
Marc Weustink <marc at dommelstein.net> wrote:
> At 01:26 14-9-2003, Karl Brandt wrote:
> >The patch
Applied.
> does the cited above, cleans creation of CommonDialogs and
> >removes unused/buggy code (LM_SETFILTER,LM_SETFILENAME).
> >
> >What's the expected by LCL when user clicks Cancel at Save/Open Boxes:
> >Set Filename to '' and clear Files or mantain previous values?
>
> I would expect the values I set before issuing execute. On OK it should
> change IMO. However if the user clicks cancel, the values have no meaning.
I agree, that on Cancel the values have no meaning. But I don't think, that
a Cancel should automatically reset the dialog (and a Ok does not). IMO it
is up to the application to initialize the dialog.
> >The Patch does the former, being easy to change.
> >
> >BTW: In my system, all progs with Open/Save dialogs (compiled with FPC ,
> >GCC,Delphi ... - includind MS ones) get a SIGSEG signal after first use
> >of the cited dlgs. Does someone is getting the same?
> >To see it, just load the exe with gdb.
>
> ??? You mean that you also get an AV when you use a standard Delphi
> Open/Save dialog component ?
>
> >Using WindowsXP Professional version 2002, no SR
Mattias
More information about the Lazarus
mailing list