[Customdrawn] Lazdialogs patch

Giuliano Colla giuliano.colla at fastwebnet.it
Fri Sep 28 19:04:46 CEST 2012


Felipe Monteiro de Carvalho ha scritto:
> Ummm, I think I was wrong, steping into the code it seams that Dialogs
> does not really implement the dialogs, it just makes some
> reorganization of the information and in the end it calls
> TCDWidgetSet.PromptUser
>
> So this would be a implementation for TCDWidgetSet.PromptUser. Sorry
> for the confusion =)
>
> In this case, maybe the routines in lazdialogs should have the same
> parameters as TCDWidgetSet.PromptUser
>
>   
There are two scenarios: CustomDrawn components in a standard WS, and 
CustomDrawn components for the CD WS.

The current implementation is addressing only the first scenario. In 
that case LazDialogs should have different names from the equivalent 
native WS Dialogs, but they should offer an equivalent user interface, 
to make things easier for our "customers".

CustomDrawn dialogs in CD WS frame are another matter: the user 
interface is provided by LCL, and they should implement the PromptUser 
interface, to keep consistency.

The same holds true for other dialogs, such as the FileOpen, but we 
should first fix be able to release a CD modal form without crashing....

Giuliano


-- 
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)





More information about the Customdrawn mailing list