IO Edit TIP
Revision as of 02:26, 3 December 2009 by Aljohnson1 (talk | contribs)
In my group Team Temporary, I am responsible for the IO_Edit class with some others and thoughtit might be helpful to share part of what I have done to get it to work. int IO_Edit::edit(void){
Once there is an owner which is the outer most frame, the editable fields must be positioned relative to that owner. Two was added to the editable field which took into consideration the frame and the starting of the field. For those persons who might be having difficulty, take a look at it and incorporate it with yourcode. Though simple, it might stimulate some ideas.
This belongs to IO_Edit::edit().
if(_framed){ val = io_edit(_str, _owner ? _owner->getTop() + _row + 2 : _row + 1, _owner ? _owner->getLeft()+ _col + 2 : _col + 1, _fieldlen, _maxdatalen, _insertmode, &_offset, &_curpos,0); }else{ val = io_edit(_str, _owner ? _owner->getTop() + _row : _row, _owner ? _owner->getLeft() + _col : _col, _fieldlen, _maxdatalen, _insertmode, &_offset, &_curpos,0); } return val;
}
Information on vedit and frame will be added soon. Ausley Johnson