Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

Reference for unit 'LCLIntf'

Contains WinAPI-like functions for Delphi compatibility.

uses

  System,

  Math,

  Classes,

  SysUtils,

  Types,

  LCLType,

  

  LCLProc,

  

Useful lower-level helper functions and classes.

  LMessages,

  

Contains Typhon message codes and their mapping to message codes for other platforms/widgetsets.

  LCLStrConsts,

  

  InterfaceBase,

  

Provides a platform-independent widgetset class and helper functions.

  GraphType,

  FileUtil,

  LazFileUtils,

  UTF8Process,

  LazUTF8,

  LazSysUtils,

  Maps;

Overview

This unit was created for Delphi compatibility. It contains selected functions from the Delphi Windows unit, which finally are implemented in the widgetsets.

For LCL users:

The functions can be used to make porting of Delphi applications easier, and are not 100% emulating WinAPI functions, not even under windows. They were implemented and tested with some common Delphi libraries. The LCL contains many extra functions that the Delphi VCL does not have.

Remark: Some functions are not exactly Delphi or WinAPI compatible.

For example: Instead of using the common Windows functions SaveDC and RestoreDC use the Canvas.SaveHandleState and Canvas.RestoreHandleState.



CT Web help

CodeTyphon Studio