Sign in Join
FPDoc Onlineexperiment

CS_To_String function

In unit LCLType

Converts a component style identifier to a component style name.

Declaration

pascal
function CS_To_String(CompStyle: Integer): string

Arguments

CompStyle

Integer component style identifier converted to its representation as a String.

Function result

String representing the component style, or 'Unknown component style' for unsupported values.

Description

The following values are not supported in the CompStyle argument, and cause 'Unknown component style' to be returned from the routine:

  • csAlignment
  • csBox
  • csGTKTable
  • csMainForm
  • csTable
  • csVScrollBar
  • csFrame
  • csButtonBox
  • csCanvas
  • csFont
  • csPen
  • csBrush
  • csTimer
  • csImage
  • csToolbar
  • csToolButton
  • csSpeedButton

Not used in the current LCL implementation.

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