| 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
Window Painter - ExercisesAll the windows that you paint as part of this exercise will be used in applications you develop in future sessions. So, we recommend you NOT to skip this exercise. You need to paint windows as shown in the picture. The details of each element in the picture are described below it.
After completion of these exercises, if you have any problem or want to make sure that your home work is correct, you can download objects by clicking on the appropriate "Download Code" icon. Please note that, all these window names are suffixed with "_asi". To open these objects, you need to import them into your PowerBuilder library. To import the file, invoke the library painter, select "Entry/Import" from the menu and select the downloaded file name. Now, the object is ready in your library.
Window Properties for w_login window:
Controls left side Top-to-Bottom for w_login window:
Controls right side Top-to-Bottom in w_login window:
The bottom most control is a StaticText control. Name it as "st_help". Value of text is: "Ready". For all StaticText controls, select background color as "Window Background" color (Marked as "W" on the toolbar icon).
Window Properties
The top control is a "DataWindow" control. Name it as "dw_error". Turn on horizontal and vertical scrollbars. The bottom four controls are CommandButtons. From left to right, cb_print, cb_save_to_log, cb_continue and cb_abort. The text for the CommandButtons are "&Print", "&Save", "&Continue", "&Abort" in the same order. Save this window as "w_error".
Window Properties for w_product_master window
Left most control is a DataWindow control. Name it as "dw_product". Just below that, there is one more control, which is hidden. That is also a DataWindow control, just like "dw_product". Name it as "dw_query". All controls that are on the right side are CommandButtons. The names of these CommandButtons from top are: cb_query, cb_retrieve, cb_add, cb_delete, cb_save, cb_export, cb_sort, cb_filter, cb_print_preview, cb_printer_setup, cb_print and cb_close. The text values are on the picture. Save this window as "w_product_master".
Window Properties for w_about window
Left Top control is a "Picture". Assign your company logo's bitmap. Name it as "p_logo". The next two controls are StaticText controls. Provide your company name over there. The bottom four controls are CommandButtons, cb_copyright_info, cb_system_info, cb_credits and cb_done. Turn on both "Default" and "Cancel" properties for cb_done CommandButton. Save this window as "w_about".
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |