Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodAddLabelObj


DESCRIPTION:
Create and insert a label record into array.

ClassCLASS: CRecArrayHnd

PROTOTYPE(S):
int AddLabelObj(int Type, int ID, LPCSTR pCode, LPCSTR pLabel);
int AddLabelObj(CRecArray* pRec);


ARGUMENT(S):
int TypeType to be used on label object.
int IDId to be used on label object.
LPCSTR pCodePointer to a string to be insert as a code into label object.
LPCSTR pLabelPointer to a string to be insert as a label or name into label object.
CRecArray* pRecA pointer to a record array as a referece to create an identical label object.


RETURN VALUE:
This function returns true if succeed. Otherwise it returns false.

EXAMPLE:




COMMENT:
This function will create a label object (actually a text array) and sets the parameters with the given label or with the label extracted from given record. The object then inserted into the record array. If the label created from a record array, the type and id from the supplied record will be used. A label object normally used as a summary to the original record to speed up the displaying process.

SEE ALSO:
ClassMethodCopyLabelObj
Untitled Document
SearchSearch: