Changes

Jump to: navigation, search

OOP344 Assignment Two

320 bytes added, 12:25, 5 November 2009
m
Public Function
* if '''_owner''' of IO_Vedit is null, then it simply calls the IO_Edit's '''edit()''' and terminates (returning the same value as IO_Edit::edit())
* if '''_owner''' is not null
** if the help function pointer attribute is not NULL, it will call it passing '''SetMesssage'' , and '''*_owner''' as arguments(This will show the help message for this field, before editing begins.)** if the validation function pointer is not null then it will call the IO_Edit::edit() and validate the data with it by keep repeating the IO_Edit::edit() until either validation function return true or the IO_Edit::edit() was terminated by a non navigation key.** Navigation keys are: '''UP_KEY DOWN_KEY TAB_KEY and ENTER_KEY''' ** Right before the IO_Vedit::edit() Terminates, if the help function pointer attribute is not NULL, it will call it again passing '''ClearMesssage'' , and '''*_owner''' as arguments (this will clear the help message after editing is done.) ** IO_Vedit::edit() will return the return value of IO_Eidt::edit().
==IO_CheckList==

Navigation menu