| | | | Browse by category |
Article ID: 860
Last updated: 05 Feb, 2008
Problem
In zNotebookDialog, helpButton and ApplyButton call the same function.
Cause
The ID numbers being passed to the helpButton and the Apply button are both 5.
Action
Change the following code in TabDlg.cpp, line 418:
In zNotebookDialog, helpButton and ApplyButton call the same function.
Cause
The ID numbers being passed to the helpButton and the Apply button are both 5.
Action
Change the following code in TabDlg.cpp, line 418:
if ((style&ZND_REMOVEAPPLY)!=ZND_REMOVEAPPLY) {
hold=new zGravSizer(ZGRAV_RIGHT,du.x()/5,space);
// Change the Last Parameter in the
zPushButton from a five to a Six
applyBut=new zPushButton(this,new zGravSizer(ZGRAV_RIGHT,du.x(),space),0,apply,6);
applyBut->show();
applyBut->setCommand(this,(NotifyProc)&zNotebookDialog::ziOnApply);
}
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 860
Last updated: 05 Feb, 2008
Revision: 1
Views: 2391
Posted: 02 Sep, 1997 by
Dean J.
Updated: 05 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)