| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Introduction to PowerBuilder
Creating a WindowInvoke the Window
painter by clicking on the Window icon
Once the Window painter is open, it will look like:
The rectangular
area that you see in the "Window - (Untitled)" window
is the window work area. The work area is the area where you can
paint the window. If you want to have a large work area, you can
do so; Move the mouse over the border of the work area (you know
the window border when the mouse pointer changes to In the previous
section, we described in simple terms that a window is like
a screen. Now, if you were from xBase background, what you would
do to display "Enter your name:" on the screen. You
probably would have coded Later when the user wants it at a different position, you would have opened your program and changed the x and y co-ordinates. In PowerBuilder, you don't have to code the x, y co-ordinates; instead you place a control that is capable of displaying the given text and use the mouse to drag it to the correct position. The control that is used to display the text in PowerBuilder is called "StaticText" control. To place a 'StaticText' control in the Window workspace, you can follow either of the following procedures:
As the name suggests, the purpose of the "StaticText" control is to display text that won't be changed by the user. Of course, you can change the text programmatically at run-time using PowerScript.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |