CellsManager.CellGetUniqueID method |
|
Remarks Given an index, returns the corresponding cell's UniqueID. When used in conjunction with the CellsManager.CellGetCount 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 control.CellsManager.CellGetUniqueID (nIndex as integer) as integer
Visual C++ short control.CellsManager.CellGetUniqueID (short nIndex);
Visual Basic example
Dim UniqueID As Integer For i = 0 To MyButton.CellsManager.CellGetCount() - 1 UniqueID = MyButton.CellsManager.CellGetUniqueID(i) Debug.Print UniqueID Next i
Visual C++ example
short nUniqueID; for (int i = 0; i < MyButton.GetCellsManager ().CellGetCount (); i++) { nUniqueID = MyButton.GetCellsManager ().CellGetUniqueID (i); TRACE1 ("Found cell with ID: %d\n\r", nUniqueID); }
Return value
|