Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

Widgetset name at runtime

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Damien Gerard

Hi !

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

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

Reply by email

Mattias Gaertner
to Damien Gerard
Show quoted text 6 lines
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

Reply by email

Damien Gerard
to Mattias Gaertner

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

Show quoted text 13 lines
On Fri, 2 May 2008 15:49:22 +0200 Damien Gerard 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 "Intelligence is 10 million rules." -- Douglas Lenat

Reply by email