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

Advanced PowerBuilder

HomePrevious Lesson: Standard Class
Next Lesson: Notes on User Object Programming

Custom Class

Typically, they are used to encapsulate business rules and extra functionality. You can add attributes ( instance variables ) and declare events and functions ( methods ). Whenever you want to manipulate the attributes, simply call the methods.
AutoInstantiate property is available only to the Custom Class user objects. It is not available to the standard Class user objects.

You should declare the instance variables as, either protected or private, otherwise any object can set their values, without going through the methods declared at the object.

For example, you could create an external function user object, to access the 16-bit Windows API calls. Methods ( functions ) are then defined to get information from Windows by using these external functions.
HomePrevious Lesson: Standard Class
Next Lesson: Notes on User Object Programming

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