Sign in Join
FPDoc Onlineexperiment

LCLProc unit

Useful lower-level helper functions and classes.

lclproc.pas contains lower-level classes and helper routines that are useful in LCL applications.

lclproc.pas is part of the Lazarus Component Library ( LCL).

Classes and records

TDebugLCLItemInfoclassA node in TDebugLCLItems, holding information about a heap object.
TDebugLCLItemsclassA list describing dynamically allocated (and destroyed) memory objects.

Procedures and functions

AddCmdLineParamDescprocedureAdds the help displayed for a command line parameter (and options) to the specified TStringList instance.
AppendFontFaceSuffixesfunction
CallInterfaceFinalizationHandlersprocedureCalls each of the registered finalization handlers.
CallInterfaceInitializationHandlersprocedureCalls each of the registered initialization handlers.
ClassCasefunctionIndicates if a TClass instance is found in the specified array.
CompareCaretfunctionDeprecated. Use LazUtilities.CompareCaret instead.
CompareDebugLCLItemInfosfunctionCompare function for the TDebugLCLItems AVL tree.
CompareHandlesfunctionCompares two Handles, returning the relative order for the handle values.
CompareItemWithDebugLCLItemInfofunctionCompare function for
ComparePointsfunctionDeprecated. Use LazUtils.ComparePoints instead. Compares the specified TPoint values to get their relative order.
DbgAppendToFileprocedureAppends a line to the given file.
DbgAppendToFileWithoutLnprocedureAppends (pre-formatted) text to an file.
DbgOutThreadLogprocedureWrites a debugging message to the log file for the current thread.
DbgSfunctionFormats debug output for various argument types (overloaded).
DbgSaveDataprocedureWrites data to a file.
DbgsVKCodefunctionConverts a virtual key code to its String representation.
DbgSWindowPosFlagsfunctionProvides a dump of SetWindowPosition flags.
DebugLnprocedureDeprecated. Use DebugLogger.DebugLn instead.
DebuglnThreadLogprocedureWrites a debugging message to the log file for the current thread which includes the thread identifier.
DeleteAmpersandsfunctionRemoves all Ampersand ('&') characters Str, and return the position for the first occurrence.
ExtractFontFaceSuffixesprocedure
ExtractFontWeightSuffixfunction
GetCompleteTextfunctionFinds a string in a list, given its first few characters.
GetFontFamilyDefaultStretchfunction
IsEditableTextKeyfunctionIndicates if the specified key code has a value allowed in an editable text string.
IsFontNameDefaultfunctionIndicates whether the specified font name contains 'default'.
KeyAndShiftStateToKeyStringfunctionConverts the specified key code and shift modifier to their representation as a String.
KeyStringIsIrregularfunctionIndicates if the string contains the 'Word(nn)' representation for an unknown key code.
OwnerFormDesignerModifiedprocedureExecutes the routine which notifies the form designer when the specified component has been changed.
RegisterInterfaceFinalizationHandlerprocedureRegisters an finalization routine needed after the LCL has been finalized.
RegisterInterfaceInitializationHandlerprocedureRegisters an initialization routine needed before the LCL is initialized.
RemoveAmpersandsfunctionRemoves single Ampersand characters, and returns the converted value.
SendApplicationMessagefunctionSends an application message using the specified parameter values.
ShortCutToTextfunctionReturns the localized textual representation for a shortcut value.
ShortCutToTextRawfunctionConverts a shortcut value to its text representation without localization.
TextToShortCutfunctionConverts the textual representation for a shortcut to its TShortCut value.
TextToShortCutRawfunctionConverts the non-localized textual representation for a shortcut to a TShortCut value.

Types

TMethodListtypeA list for method references.
TOwnerFormDesignerModifiedProcprocedure typeHook used to prevent circular unit references.
TSendApplicationMessageFunctionprocedure typeHook used to prevent circular unit references.

Variables

OwnerFormDesignerModifiedProcvariableRoutine used to notify the form designer which owns the specified component when it has been changed.
SendApplicationMessageFunctionvariableFunction used to send an application message using the specified parameter values.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.