Sign in Join
FPDoc Onlineexperiment

System.UITypes unit

Delphi compatibility unit with GUI and image-related types.

The System.UITypes unit contains UI (User Interface) related types: colors, cursor shapes, modal dialog results. These types have been isolated so they can be used in programs that need them without the need for including a specific UI framework.

Classes and records

TAlphaColorFrecordHandles TAlphaColor values where the ARGB channels are specified using single precision floating point values.
TAlphaColorsrecordProvides access to TAlphaColor values or their ARGB channel values.
TColorHelperhelper
TColorRecrecordRecord type used to access color names and values.

Procedures and functions

IsAbortResultfunctionIndicates whether the specified modal result value is one of the values returned when a dialog has been cancelled.
IsAnAllResultfunctionIndicates whether the specified modal result value is one of the values which include the "To All" qualifier.
IsNegativeResultfunctionIndicates whether the specified modal result value is a negative result where a dialog has not been completed successfully.
IsPositiveResultfunctionIndicates whether the specified modal result value is a positive result where a dialog has been completed successfully.
StripAllFromResultfunctionConverts a modal result value for one of the "To All" values to its singular equivalent.

Types

PAlphaColortypePointer to a TAlphaColor type.
PAlphaColorFtype
PAlphaColorRectypePointer to a TAlphaColorRec type.
PColortypePointer to a TColor type.
PColorReftypePointer to a TColorRef type.
PModalResulttypePointer to a TModalResult type.
TAlphaColortypeRepresents an RGB color value with an Alpha channel.
TAlphaColorRectypeAlias to the TAlphaColors type.
TAnchorKindenumerationIdentifies the edge on a control where border spacing is applied or anchoring is performed.
TAnchorKindstypeSet type used to store values from the TAnchorKind enumeration.
TAnchorssetSet type used to store values from the TAnchorKind enumeration.
TAnchorSideReferenceenumerationIndicates the edge on a control used to anchor a control vertically.
TAnchorSideReferencessetSet type used to store values from the TAnchorSideReference enumeration.
TBorderIconenumerationRepresents visual elements enabled on a window title bar; depends on window manager support.
TBorderIconssetSet type used to store values from the TBorderIcon enumeration.
TCalDayOfWeekenumerationRepresents the days of the week used in calendar or date controls.
TCloseActionenumerationRepresents actions that can be performed when a form is closed.
TCloseActionssetSet type used to store values from the TCloseAction enumeration.
TColortypeCardinal range type used to represent color values.
TColorReftypeProvides access to the value for a color as a Cardinal type.
TColorstypeAlias for the TColorRec type.
TCursortypeDefines the range of values used for cursor shapes.
TDialogTypeenumeration
TDragKindenumerationIndicates whether a control performs drag-drop or drag-dock operations.
TDragKindssetSet type used to store values from the TDragKind enumeration.
TDragMessageenumerationMessage types used by the DragManager in the Lazarus LCL.
TDragMessagessetSet type used to store values from the TDragMessage enumeration.
TDragModeenumerationIndicates whether a drag operation is started automatically or manually.
TDragModessetSet type used to store values from the TDragMode enumeration.
TDragStateenumerationValues representing state changes for a drag operation.
TDragStatessetSet type used to store values from the TDragState enumeration.
TEditCharCaseenumerationIndicates whether case conversion is applied to a value entered in an edit control.
TFontCharSettypeRepresents a font character set as a numeric value.
TFontDataNametypeString type used to represent a typeface name for a font. Maximum length is LF_FACESIZE-1.
TFontNametypeThe type used to represent font names.
TFontPitchenumerationRepresents values use to describe the pitch or inter-letter spacing used in a typeface.
TFontQualityenumerationRepresents available output quality settings used in a font.
TFontStyleenumerationRepresents styles or variants which can be applied to the typeface in a font.
TFontStylessetSet type used to store values from the TFontStyle enumeration.
TFontStylesBasesetSet type used to store values from the TFontStyle enumeration.
TImageIndextype
TModalResulttypeRepresents modal result values returned from a dialog.
TMouseButtonenumerationIdentifiers used to represent logical mouse buttons.
TMouseButtonssetSet type used to store values from the TMouseButton enumeration.
TMsgDlgBtnenumerationRepresents the buttons which can be displayed on a message dialog.
TMsgDlgButtonssetSet type used to store values from the TMsgDlgBtn enumeration.
TMsgDlgTypeenumerationRepresents message dialog types and their associated icons.
TOpenOptionenumerationRepresents options available in a open dialog (TOpenDialog).
TOpenOptionExenumerationIdentifies extended options available in a open dialog.
TOpenOptionssetSet type used to store values from the TOpenOption enumeration.
TOpenOptionsExsetSet type used to store values from the TOpenOptionEx enumeration.
TPageMeasureUnitsenumerationRepresents the units of measure that can be used on a page setup dialog.
TPageSetupDialogOptionenumerationRepresents the options available for a page setup dialog.
TPageSetupDialogOptionssetSet type used to store values from the TPageSetupDialogOption enumeration.
TPageTypeenumeration
TPageTypesset
TPrintDialogOptionenumerationEnumerated type with available options for a print dialog.
TPrintDialogOptionssetSet type used for the options in a print dialog.
TPrinterCapabilitiessetSet type used to store feature capabilities enabled for a given printer device.
TPrinterCapabilityenumerationRepresents feature capabilities which may be supported for a given printer device.
TPrinterOrientationenumerationRepresents orientations available for a printer device.
TPrinterOrientationssetSet type used to store values from the TPrinterOrientation enumeration.
TPrinterStateenumerationContains state values for the handle used for a printer device.
TPrinterStatessetSet type used to store values from the TPrinterState enumeration.
TPrintRangeenumerationEnumerated type which represents page ranges used in a print dialog.
TScrollCodeenumerationDefines codes for the actions performed on a scroll bar.
TScrollCodessetSet type used to store values from the TScrollCode enumeration.
TTabOrdertypeRange type used to represent the tab order for windowed controls.
TTouchTrackingset
TWindowStateenumerationIndicates the state for a window or form.
TWindowStatessetSet type used to store values from the TWindowState enumeration.

Constants

cgiFirstconstant
cgiLastconstant
crAppStartconstant
crArrowconstant
crCrossconstant
crDefaultconstant
crDragconstant
crHandPointconstant
crHelpconstant
crHighconstant
crHourGlassconstant
crHSplitconstant
crIBeamconstant
crLowconstant
crMultiDragconstant
crNoconstant
crNoDropconstant
crNoneconstant
crSizeconstant
crSizeAllconstant
crSizeEconstant
crSizeNconstant
crSizeNEconstant
crSizeNESWconstant
crSizeNSconstant
crSizeNWconstant
crSizeNWSEconstant
crSizeSconstant
crSizeSEconstant
crSizeSWconstant
crSizeWconstant
crSizeWEconstant
crSQLWaitconstant
crUpArrowconstant
crVSplitconstant
igiBeginconstant
igiDoubleTapconstant
igiEndconstant
igiFirstconstant
igiLastconstant
igiLongTapconstant
igiPanconstant
igiPressAndTapconstant
igiRotateconstant
igiTwoFingerTapconstant
igiZoomconstant
LF_FACESIZEconstantMaximum number of characters allowed in font style and script names.
LF_FULLFACESIZEconstantMaximum number of characters allowed in a font typeface name.
ModalResultStrconstantAn indexed array of strings representing the modal result constants.
mrAbortconstantDialog was closed by clicking on the Abort button.
mrAllconstantDialog was closed by clicking on the All button.
mrCancelconstantDialog was closed by clicking on the Cancel button.
mrCloseconstantDialog was closed by clicking on the Close button.
mrContinueconstant
mrIgnoreconstantDialog was closed by clicking on the Ignore button.
mrLastconstantLast modal result value (same as mrClose).
mrNoconstantDialog was closed by clicking on the No button.
mrNoneconstantDialog was closed without selecting a button.
mrNoToAllconstantDialog was closed by clicking on the No To All button.
mrOKconstantDialog was closed by clicking on the OK button.
mrRetryconstantDialog was closed by clicking on the Retry button.
mrTryAgainconstant
mrYesconstantDialog was closed by clicking on the Yes button.
mrYesToAllconstantDialog was closed by clicking on the Yes To All button.
rgiFirstconstant
rgiLastconstant
sgiCheckconstant
sgiChevronDownconstant
sgiChevronLeftconstant
sgiChevronRightconstant
sgiChevronUpconstant
sgiCircleconstant
sgiCurlicueconstant
sgiDoubleCircleconstant
sgiDoubleCurlicueconstant
sgiDownconstant
sgiDownLeftconstant
sgiDownLeftLongconstant
sgiDownRightconstant
sgiDownRightLongconstant
sgiDownUpconstant
sgiFirstconstant
sgiLastconstant
sgiLeftconstant
sgiLeftDownconstant
sgiLeftRightconstant
sgiLeftUpconstant
sgiNoGestureconstant
sgiRightconstant
sgiRightDownconstant
sgiRightLeftconstant
sgiRightUpconstant
sgiScratchoutconstant
sgiSemiCircleLeftconstant
sgiSemiCircleRightconstant
sgiSquareconstant
sgiTriangleconstant
sgiUpconstant
sgiUpDownconstant
sgiUpLeftconstant
sgiUpLeftLongconstant
sgiUpRightconstant
sgiUpRightLongconstant
vk0constant
vk1constant
vk2constant
vk3constant
vk4constant
vk5constant
vk6constant
vk7constant
vk8constant
vk9constant
vkAconstant
vkAcceptconstant
vkAddconstant
vkAppsconstant
vkAttnconstant
vkBconstant
vkBackconstant
vkBackslashconstant
vkBrowserBackconstant
vkBrowserFavoritesconstant
vkBrowserForwardconstant
vkBrowserHomeconstant
vkBrowserRefreshconstant
vkBrowserSearchconstant
vkBrowserStopconstant
vkCconstant
vkCameraconstant
vkCancelconstant
vkCapitalconstant
vkClearconstant
vkCommaconstant
vkControlconstant
vkConvertconstant
vkCrselconstant
vkDconstant
vkDecimalconstant
vkDeleteconstant
vkDivideconstant
vkDownconstant
vkEconstant
vkEndconstant
vkEqualconstant
vkErEofconstant
vkEscapeconstant
vkExecuteconstant
vkExselconstant
vkFconstant
vkF1constant
vkF10constant
vkF11constant
vkF12constant
vkF13constant
vkF14constant
vkF15constant
vkF16constant
vkF17constant
vkF18constant
vkF19constant
vkF2constant
vkF20constant
vkF21constant
vkF22constant
vkF23constant
vkF24constant
vkF3constant
vkF4constant
vkF5constant
vkF6constant
vkF7constant
vkF8constant
vkF9constant
vkFinalconstant
vkFunctionconstant
vkGconstant
vkHconstant
vkHangulconstant
vkHanjaconstant
vkHardwareBackconstant
vkHelpconstant
vkHomeconstant
vkIconstant
vkIco00constant
vkIcoClearconstant
vkIcoHelpconstant
vkInsertconstant
vkJconstant
vkJunjaconstant
vkKconstant
vkKanaconstant
vkKanjiconstant
vkLconstant
vkLaunchApp1constant
vkLaunchApp2constant
vkLaunchMailconstant
vkLaunchMediaSelectconstant
vkLButtonconstant
vkLCommandconstant
vkLControlconstant
vkLeftconstant
vkLeftBracketconstant
vkLineFeedconstant
vkLMenuconstant
vkLShiftconstant
vkLWinconstant
vkMconstant
vkMButtonconstant
vkMediaNextTrackconstant
vkMediaPlayPauseconstant
vkMediaPrevTrackconstant
vkMediaStopconstant
vkMenuconstant
vkMinusconstant
vkModeChangeconstant
vkMultiplyconstant
vkNconstant
vkNextconstant
vkNonameconstant
vkNonConvertconstant
vkNoneconstant
vkNumLockconstant
vkNumpad0constant
vkNumpad1constant
vkNumpad2constant
vkNumpad3constant
vkNumpad4constant
vkNumpad5constant
vkNumpad6constant
vkNumpad7constant
vkNumpad8constant
vkNumpad9constant
vkOconstant
vkOem102constant
vkOemClearconstant
vkPconstant
vkPA1constant
vkPacketconstant
vkParaconstant
vkPauseconstant
vkPeriodconstant
vkPlayconstant
vkPrintconstant
vkPriorconstant
vkProcessKeyconstant
vkQconstant
vkQuoteconstant
vkRconstant
vkRButtonconstant
vkRCommandconstant
vkRControlconstant
vkReturnconstant
vkRightconstant
vkRightBracketconstant
vkRMenuconstant
vkRShiftconstant
vkRWinconstant
vkSconstant
vkScrollconstant
vkSelectconstant
vkSemicolonconstant
vkSeparatorconstant
vkShiftconstant
vkSlashconstant
vkSleepconstant
vkSnapshotconstant
vkSpaceconstant
vkSubtractconstant
vkTconstant
vkTabconstant
vkTildeconstant
vkUconstant
vkUpconstant
vkVconstant
vkVolumeDownconstant
vkVolumeMuteconstant
vkVolumeUpconstant
vkWconstant
vkXconstant
vkXButton1constant
vkXButton2constant
vkYconstant
vkZconstant
vkZoomconstant

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