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

Reference for unit 'LCLIntf'

Contains winapi like functions for Delphi compatibility.

uses

  System,

  Unix,

  types,

  math,

  Classes,

  sysutils,

  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

  GraphType,

  

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

  InterfaceBase,

  

Provides an platform independent widgetset and helper functions.

  LResources,

  

This unit maintains and stores all standard Lazarus resources in the global LazarusResources list and provides methods and types for component streaming.

  FileUtil,

  UTF8Process,

  

  maps,

  

  LMessages,

  

  lazutf8sysutils;

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.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads