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: PowerBuilder's Class Hierarchy
Next Lesson: Summary

The Object Browser

PowerBuilder's Object browser is really a class and it has two uses. It allows you to view the class hierarchy in both PowerBuilder and your own application. It also allows you to view the properties, events and functions that are available in any created object. The 'system' tab is where you can view PowerBuilder's internal class hierarchy. The other tabs allow you to view objects created in your application.

Objects are displayed on the left panel and on the right panel, various properties, events, functions, variables and structures associated with the selected object are displayed.

Clicking the right mouse button in the left panel expands each object. For example, expanding a window object would display objects that were painted in that window. You can display object hierarchies wherever inheritance is supported by PowerBuilder, i.e. in window, user object and menu tab folders.

The icons in the right panel indicate several things about the property, event, function, variable or structure under scrutiny:

An anti-clockwise arrow shows that the property/variable/event/function/structure is inherited.

The number of squares shows whether the property/variable/event/function/structure is public (three squares), protected (two squares) or private (one square).

Other restrictions, such as read-only, are shown by half-colored squares.

The 'Document…' button allows you to display the information in rich text format, which you can later print or copy to the clipboard, for pasting into Windows word processor. The 'Copy' button allows you to copy and paste properties, variables, functions, events and structures into your code. The browser is also useful for reviewing OLE objects and controls. While you are in the 'OLE' tab folder, right panel is not available, instead all values are displayed in one panel.

In version 6.0, Object browser window is changed from 'model' window to 'normal' window. That means, previously nothing could be done in PowerBuilder when object browser was open. In version 6.0, you can leave the object browser open and start working in the PowerBuilder development environment.
HomePrevious Lesson: PowerBuilder's Class Hierarchy
Next Lesson: Summary

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