Creates a table window column of string data type at runtime. When you return to design mode, destroys the column.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public SalNumber CreateColumn(
	SalNumber colPos,
	SalNumber dispWidth,
	SalNumber maxChars,
	SalString title,
	DataType dataType
)

Parameters

colPos
Type: PPJ.Runtime..::..SalNumber
The Column Position
dispWidth
Type: PPJ.Runtime..::..SalNumber
The display width of the column in pixels.
maxChars
Type: PPJ.Runtime..::..SalNumber
The maximum number of characters that the column can contain.
title
Type: PPJ.Runtime..::..SalString
The column title.
dataType
Type: PPJ.Runtime.Windows..::..DataType
The SAL data type constant.

Return Value

Column ID

See Also