When you use the Wizard to generate a form (including a navigation toolbar), it is sometimes neccesary to add code to the default behavior (the code that is generated by the Wizard). In order to add your own code to what the Wizard code already does, you need to call the parent class code as well as your own added code.
For example if you want to add some code to the Next button, you would modify the click event of the button (called cmdNext), by adding the following:
Code:
txtbtns.cmdNext::Click && Calls the default parent class code
Messagebox("This parent class code was executed) && Added code.
Or another way would be to use DODEFAULT()
Code:
dodefault() && Calls the default parent class code
Messagebox("This parent class code was executed) && Added code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.