Sign in Join
FPDoc Onlineexperiment

TLCLCapability enumeration

In unit InterfaceBase

Represents capabilities used in the LCL.

Declaration

pascal
TLCLCapability = (lcAsyncProcess,lcCanDrawOutsideOnPaint,
 lcNeedMininimizeAppWithMainForm,lcApplicationTitle,
 lcApplicationWindow,lcFormIcon,lcModalWindow,
 lcDragDockStartOnTitleClick,
 lcAntialiasingEnabledByDefault,lcLMHelpSupport,
 lcReceivesLMClearCutCopyPasteReliably,
 lcSendsUTF8KeyPress,
 lcAllowChildControlsInNativeControls,lcEmulatedMDI,
 lcAccessibilitySupport,lcRadialGradientBrush,
 lcTransparentWindow,lcTextHint,lcNativeTaskDialog,
 lcCanDrawHidden,lcAccelleratorKeys)

Description

TLCLCapability is an enumerated type with values that represent capabilities used in the Lazarus Component Library ( LCL). The enumeration values identify features or behaviors that may be implemented in a given widgetset object. The enumeration values can be passed to the TWidgetSet.GetLCLCapability method to determine whether the feature or behavior is implemented for the platform.

See also

Values

lcAsyncProcessSupports asynchronous processes.
lcCanDrawOutsideOnPaintSupports drawing outside of the OnPaint event for a control.
lcNeedMininimizeAppWithMainFormWhen the main form is minimized, the application is minimized too.
lcApplicationTitleCan change application title at run-time.
lcApplicationWindowApplication has a special root window.
lcFormIconForms have an icon.
lcModalWindowHas native modal window support.
lcDragDockStartOnTitleClickCan drag-dock forms by clicking on the title bar.
lcAntialiasingEnabledByDefaultamDontCare is the same as amOn for the widgetset.
lcLMHelpSupportHas support for the LM_HELP command.
lcReceivesLMClearCutCopyPasteReliablyCarbon does not receive LM_CLEAR, LM_CUT, LM_COPY, LM_PASTE reliably; this affects DB controls.
lcSendsUTF8KeyPressThe interface sends UTF8KeyPress directly. When not available, it will be emulated in TWinControl.CNChar.
lcAllowChildControlsInNativeControlsUsed by the LCL custom-drawn widgetset so that it can inject child controls in native ones.
lcEmulatedMDIProvides emulation of MDI commands for widgetsets which do not provide native MDI handling.
lcAccessibilitySupportIndicates accessibility is implemented; mostly for TCustomControl descendents as native widgetsets should have in-built accessibility.
lcRadialGradientBrushIndicates that CreateBrushWithRadialGradient is supported to create a brush with a radial gradient pattern.
lcTransparentWindowHas the ability to pass mouse messages through a window (on win32 LM_NCHITTEST with HTTRANSPARENT result).
lcTextHintHas native TextHint support.
lcNativeTaskDialogTask dialogs on MS Windows for widgetsets different than win32/wince. Used in LCLTaskDialog. Qt/Qt5 must set this option to False otherwise taskdialog segfaults.
lcCanDrawHiddenThe system rendering engine might request a hidden control to be drawn (macOS 10.9 and later).
lcAccelleratorKeysSupports UI accelerator keys using & as a prefix for the accelerator character.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.