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: Opening Window with a Parameter
Next Lesson: The Message Object

Structures

Structures are basically collections of variables/objects that are defined in the structure painter. If you know 'C' language, then think it as a structure in 'C' and if you are from 'COBOL' background, then think it as a record with no sub-levels.

To declare a structure, invoke the structure painter by selecting File > New menu option and double clicking on the icon and define the variable/object name and the datatype. The object can also be another PowerBuilder structure. When you save a structure, it becomes a PowerBuilder object.

In functions like OpenWithParm(), you can pass only one parameter. Sometimes you may need to pass more than one parameter. If that is the case, use Structures. When you pass the Structure as the parameter, the opened object can access all members in the structure.
HomePrevious Lesson: Opening Window with a Parameter
Next Lesson: The Message Object

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