Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
CellsManager.AddCell method 
 
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.AddCell (UniqueID as integer, nPercLeft as integer, nPercTop as integer, nPercWidth as integer, nPercHeight as integer, strText as string) as boolean 
 
Visual C++ 
BOOL control.CellsManager.AddCell (short UniqueID, short nPercLeft, short nPercTop, short nPercWidth, short nPercHeight, LPCTSTR strText); 
 
Parameter
Description
 
 
UniqueID
Numerical value representing the cell's unique identifier: a control cannot have two cells with the same UniqueID
nPercLeft
Numerical value representing the initial cell's left position expressed in percentage of the container control's width
nPercTop
Numerical value representing the initial cell's top position expressed in percentage of the container control's height
nPercWidth
Numerical value representing the initial cell's width expressed in percentage of the container control's width
nPercHeight
Numerical value representing the initial cell's height expressed in percentage of the container control's height
strText
String representing the initial text displayed within the new cell
 
 
Return value 
 
Value
Meaning
 
 
FALSE
The operation failed
TRUE
The operation was successful
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index