Copyright © 1998-2015 MultiMedia Soft

CellsManager.CellGetPos method

Previous pageReturn to chapter overviewNext page

Remarks

Retrieves the current position for the cell identified by a UniqueID identifier.

For further details about cells management, see the How to manage cells section

 

Syntax

Visual Basic

control.CellsManager.CellGetPos (UniqueID as integer, pPosLeft as single, pPosTop as single) as boolean

 

Visual C++

BOOL control.CellsManager.CellGetPos (short UniqueID, float *pPosLeft, float *pPosTop);

 

Parameter

Description

 

 

UniqueID

Numerical value representing the cell's unique identifier: a control cannot have two cells with the same UniqueID

pPosLeft

Pointer to a variable that will receive, on exit, the cell's left position expressed in the scale unit specified inside the CellsManager.ScaleUnit property

pPosTop

Pointer to a variable that will receive, on exit, the cell's top position expressed in the scale unit specified inside the CellsManager.ScaleUnit property

 

 

Return value

 

Value

Meaning

 

 

FALSE

The operation failed

TRUE

The operation was successful