Copyright © 2003-2005 MultiMedia Soft 
Return to index  
 
CellsManager.GetCellUniqueID method 
 
Remarks 
Given an index, returns the corresponding cell's UniqueID
When used in conjunction with the CellsManager.GetCount method, it can enumerate the UniqueID of available cells. 
For further details about cells management, see the How to manage cells section 
 
 
Syntax 
 
[Visual Basic] 
Public Sub CellsManager.GetCellUniqueID(nIndex as Short) as Boolean 
 
[C#] 
public bool CellsManager.GetCellUniqueID(short nIndex); 
 
[C++] 
public: bool CellsManager.GetCellUniqueID(short nIndex); 
 
Parameter
Description
 
 
nIndex
Index, inside the list of available cells, of the cell whose UniqueID must be retrieved.
 
Visual Basic example 
 
Dim UniqueID As Integer 
Dim i As Short 
For i = 0 To Ctl3dPushButton1.CellsManager.GetCount() - 1 
       UniqueID = Ctl3dPushButton1.CellsManager.GetCellUniqueID(i) 
       Console.WriteLine(UniqueID.ToString()) 
Next i 
 
Visual C++ example 
 
short nUniqueID; 
for (short i = 0; i < Ctl3dPushButton1.CellsManager.GetCount (); i++) 
       nUniqueID = Ctl3dPushButton1.CellsManager.GetCellUniqueID (i); 
       Console.WriteLine (nUniqueID.ToString ()); 
 
 
Return value 
 
Value
Meaning
 
 
-1
An error occurred
value >= 0
The UniqueID for the requested cell
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2003-2005 MultiMedia Soft 
Return to index