Saturday, December 5, 2009

UPdate and references

Jon Worked on VEdit Today and added some stuff to it. BTW, some references to IO_EDIT:: and IO_VEDIT::

REFERENCES:

ON IO_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;

IRC CONVO:
from what I've seen of _Validate
canton: I commited my changes to io_vedit(), so take a look
ok thanks
it points to a validator function
and that function can be anything as long as it takes a void pointer and a IO_Form reference
thanks northWind
then that function returns a boolean representing whether the data pointed to by the void* was found to be "valid" or not
-->| t0mmyw (n=tom@net1.senecac.on.ca) has joined #seneca
the implementation of this function is left upto whatever class is using IO_Vedit so what it actually is should be of no concern
thats how our IO_Vedit works anyway, if its wrong, somebody please let me know :)
-->| Arlene_Daniel (n=chatzill@net1.senecac.on.ca) has joined #seneca
=-= Arlene_Daniel is now known as adaniel3
thanks that was very clear
canton: I implemented it like that in the code, but I'm not 100% about the 1ist argument for _Validate
canton: any time, sorry for interrupting like that but I figured I could save you a little time
northWind_Tel: you did, thanx

No comments:

Post a Comment