[Lazarus] Widgetset name at runtime

Damien Gerard milipili at shikami.org
Fri May 2 17:18:13 CEST 2008


Le May 2, 2008 à 4:26 PM, Mattias Gaertner a écrit :

> 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]

Yes thanks !

>
>
> The IDE uses sometimes longer, more descriptive names.
>

Fine for me :)




--
Damien Gerard
milipili at shikami.org

"Intelligence is 10 million rules."
    -- Douglas Lenat









More information about the Lazarus mailing list