[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

Reference for unit 'LCLIntf'

Contains winapi like functions for Delphi compatibility.

uses

  System,

  Unix,

  Math,

  

  Classes,

  

  SysUtils,

  

  Types,

  LCLType,

  

This unit is being created specifically for compatibility with Delphi. It should only be used for constants and type definitions that are included in the Delphi Windows unit. This is only done for compatibiltiy.

  LCLProc,

  

Useful lower level helper functions and classes

  LMessages,

  

  LCLStrConsts,

  

This unit contains all resource strings of the LCL

  GraphType,

  

Definitions of several special types (including Raw Image) to be used for graphics

  InterfaceBase,

  

Provides an platform independent widgetset and helper functions.

  FileUtil,

  LazFileUtils,

  UTF8Process,

  LazUTF8,

  LazUTF8SysUtils,

  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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.