Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

682 bytes added, 17:05, 3 November 2009
IO_Edit
==IO_Edit==
 
Inherit IO_Field and IO_Frame into a new class called IO_Edit.
IO_Edit, encapsulates the io_edit() function of ciol library when isTextEditor is false.
IO_Edit can be created in two ways:
<big><pre>
 
IO_Edit::IO_Edit(int row, int col, int fieldlen,
 
int maxdatalen, int* insertmode,bool framed,const char* frameChars);
 
</pre></big>
This constructor dynamically creates an array of '''maxdatalen''' + 1 chars and sets IO_Feild::_data to point to it.
 
--- incomplete ---
<big><pre>
 
IO_Edit::IO_Edit(char* str, int row, int col, int fieldlen,
 
int maxdatalen, int* insertmode,bool framed,const char* frameChars);
 
</pre></big>
 
--- incomplete ---
==IO_CheckList==