Copyright © 2003-2005 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] 
Public Function CellsManager.AddCell(UniqueID as Short, nPercLeft as Short, nPercTop as Short, nPercWidth as Short, nPercHeight as Short, strText as string) as Boolean 
 
[C#] 
public bool CellsManager.AddCell(short UniqueID, short nPercLeft, short nPercTop, short nPercWidth, short nPercHeight, String strText); 
 
[C++] 
public: bool CellsManager.AddCell(short UniqueID, short nPercLeft, short nPercTop, short nPercWidth, short nPercHeight, String* 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 © 2003-2005 MultiMedia Soft 
Return to index