Sunday, 17 July 2011

Restricting the Form to Open Directly


  Restricting the Form from Opening Directly is an Easy way and can be done by overriding the Inint method of form as follows:

                 Override Init method of form and write the following statement after Super()

                       if(! element.args().caller())
                                  throw error("Form can not be opened Directly");

By doing this we can restrict the Form Opening Directly

Santhosh Reddy
-It's kind of fun to do the impossible 

No comments:

Post a Comment