Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

423 bytes added, 02:22, 5 November 2009
m
display()
void IO_Edit::display()const;
</pre></big>
display, first checks to see if IO_Edit is framed. if it is it will call the IO_Frame's display(), using _owner->getTop() and _owner->getLeft() as its topOffset and leftOffset agruments.Then it will makes a direct call to ciol's io_display() function passing IO_Field's data, row getRow() and col getCol() and also the fieldlen value form IO_Edit's attrubutes.<blockqoute> passing _owner->getTop() and _owner->getLeft() to IO_Frame's display() and also, using getRow() and getCol() for extracting row and col from IO_Field, makes row and col of the IO_Edit, relative to top, left of the form it is on. (if IO_Edit belongs to an IO_Form, that is, if _owner is not NULL) </bloacgoute>
====edit()====