"Ok" and "Apply" functions are overruled by the other property pages.
-
Hi techies, I have a problem and i really dont know how this happens. I have a property page window with say 4 property pages.(sheet1,sheet2,sheet3sheet4) and obviously they all have common "Ok" "Apply" and "Cancel" button. Each of the sheets have their own classes say Csheet1,Csheet2,Csheet3,Csheet4 with each of them having their own function definations for "Ok" "Apply" and "Cancel" (like Csheet1:: onOK(), Csheet2:: onOK(), Csheet4:: onOK(),, etc). But if im in sheet4 and press Ok or Apply why the hell it goes to Csheet1:: onOK() and then to Csheet4:: onOK(),, though im averse to this action. please help me...!! i just want the functions of class correponding to the sheets to be invoked. say if im in sheet1 and press "ok" or "Apply" then Csheet1:: onOK() or Csheet1:: onApply() resp. should be opened..!!1 please get a solution.
-
Hi techies, I have a problem and i really dont know how this happens. I have a property page window with say 4 property pages.(sheet1,sheet2,sheet3sheet4) and obviously they all have common "Ok" "Apply" and "Cancel" button. Each of the sheets have their own classes say Csheet1,Csheet2,Csheet3,Csheet4 with each of them having their own function definations for "Ok" "Apply" and "Cancel" (like Csheet1:: onOK(), Csheet2:: onOK(), Csheet4:: onOK(),, etc). But if im in sheet4 and press Ok or Apply why the hell it goes to Csheet1:: onOK() and then to Csheet4:: onOK(),, though im averse to this action. please help me...!! i just want the functions of class correponding to the sheets to be invoked. say if im in sheet1 and press "ok" or "Apply" then Csheet1:: onOK() or Csheet1:: onApply() resp. should be opened..!!1 please get a solution.
Does the problem only happen on the sheet4 when you click the 'ok' button and it jumps to the Csheet1::onOK() function?
aravind.sn wrote:
... and obviously they all have common "Ok" "Apply" and "Cancel" button.
Also from the above, are you saying that they all share the same buttons ? if that is so then that is the problem !
-
Does the problem only happen on the sheet4 when you click the 'ok' button and it jumps to the Csheet1::onOK() function?
aravind.sn wrote:
... and obviously they all have common "Ok" "Apply" and "Cancel" button.
Also from the above, are you saying that they all share the same buttons ? if that is so then that is the problem !
Yes any page you go and click ok, it will first go to the Csheet1::onOK() and then to their class defined Csheetx::onOK() funtion. "Also from the above, are you saying that they all share the same buttons ? if that is so then that is the problem !" RE: Generally its the property of the property page which looks like sharing the same "OK" "Apply" and "Cancel" button,, for example,, open your Internet option (in internet explorer) the bottom 3 buttons look like common.