I have subclass Wzbtns.vcx and wish include function to incremental record number just before user press save button. When user edit record i wish to run another function before he press SAVE. Where and how must I put my function.
Please help.
In the VCR buttons.. add buttons... click event
add code following way..
WizBtns.AddButton.Click event
*****************************
IF THIS.Parent.EditMode
** You are already editing..
** you are going to Save now..
** SO do the incremental code here.
ELSE
** Add button has been pressed...
** You are about to change to new record addition mode
ENDIF
DODEFAULT()
If you are going to edit mode or revert mode..
WizBtns.EditButton.Click event
*****************************
IF THIS.Parent.EditMode
** You are going to edit a record.
** SO do whatever to start editing.
ELSE
** Yoy are alredy in edit mode..
** You have clicked to revert the editing
** Do whatever...
ENDIF
DODEFAULT()
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.