Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Mastering PowerBuilder

HomePrevious Lesson: Class Libraries
Next Lesson: Diadvantages

General Purpose Classes

Classes that place all potentially required functionality in one ancestor class belong to this category. That means, methods are defined for all possible functionality for that object. When the developer uses this class, he turns on and off the functionality in one of the following ways:

  • Call the method with arguments with TRUE/FALSE values. (In the ancestor class, the code uses IF...ELSEIF statement to check the argument value and acts accordingly)
  • Call separate functions to turn on/off the functionality and then call the actual method. (In the ancestor class, boolean instance variables are defined and in the method’s code IF...ELSEIF statements are used to check the instance variable values for on/off.).

A typical example of a general-purpose class is a DataWindow with all the functionality, as shown in the following picture:

HomePrevious Lesson: Class Libraries
Next Lesson: Diadvantages

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com