Remarks
Adds a new cell identified by a UniqueID identifier.
For further details about cells management, see the How to manage cells section
Syntax
Visual Basic
control.CellsManager.CellAdd (UniqueID as integer, nPosLeft as single, nPosTop as single, nWidth as single, nHeight as single, strText as string) as boolean
Visual C++
BOOL control.CellsManager.CellAdd (short UniqueID, float nPosLeft, float nPosTop, float nPercWidth, float nPercHeight, LPCTSTR strText);
Parameter
|
Description
|
|
|
UniqueID
|
Numerical value representing the cell's unique identifier: a control cannot have two cells with the same UniqueID
|
nPosLeft
|
Numerical value representing the initial cell's left position expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
nPosTop
|
Numerical value representing the initial cell's top position expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
nWidth
|
Numerical value representing the initial cell's width expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
nHeight
|
Numerical value representing the initial cell's height expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
strText
|
String representing the initial text displayed within the new cell
|
Return value
Value
|
Meaning
|
|
|
FALSE
|
The operation failed
|
TRUE
|
The operation was successful
|
|