Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20113

43 bytes added, 14:26, 7 November 2011
Methods
int add(CField* field, bool dynamic = true);
</syntaxhighlight></big>
Adds the '''CField''' pointed by '''field''' to the Fields of the Dialog; by appending the value of the field pointer after the last added '''field'' in the _fld array , setting the corresponding _dyn element to the value of dynamic argument and then increasing _fnum by one and returning it.the index of added Field in the CDialog object<br />
'''important note:<br />
Make sure that add() sets the container of the added CField to this CDialog object, using the container() method of CField'''

Navigation menu