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

Introduction to PowerBuilder

HomePrevious Lesson: Creating an Application Object
Next Lesson: Summary

Writing "Hello, World!" Application

Select Entry/Script from the menu. You can now see the script editor for the application object. Type the following code:

MessageBox( "My First Application", "Hello, World!" )

Come out of the script painter by selecting File/Return from the menu. To run the application, click on the Run icon from the Powerbar. Say Yes for the prompt asking you whether to save the changes or not.

Image of "Hello, World" Messagebox.

That's all. Isn't it simple to write an application; even though this might not be a great one. Do you know what you did? You wrote the above script in the application's Open event. When you run the application, application object's Open event is the first one to be fired. So it executed 'MessageBox()' function you wrote over there.

In the next session, you will learn about window painter in detail.
HomePrevious Lesson: Creating an Application Object
Next Lesson: Summary

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