[Lazarus] Widgetset name at runtime

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 2 16:26:02 CEST 2008


On Fri, 2 May 2008 15:49:22 +0200
Damien Gerard <milipili at shikami.org> wrote:

> 
> Hi !
> 
> I would like to know the name of the current widget set at runtime.
> Is there a nice function / constant for this ? :)  (without a lot of  
> define which may be changed at any time)

uses InterfaceBase;

LCLPlatformDirNames[WidgetSet.LCLPlatform]

The IDE uses sometimes longer, more descriptive names.

Mattias



More information about the Lazarus mailing list