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: Summary
Next Lesson: Window Painter - Exercises

Window Painter - Questions & Answers
Which control has Password property and what does it mean?
SingleLineEdit control has the Password property. When this property is set to true, at run-time the value entered into this control is displayed as stars ( ***) instead of the actual data. The actual value is available through program. This is useful when you don't want other people to watch the data you type into the control.
   
Which control allows you to input multiple lines of text with different attributes such as bold, subscript, tabs, superscript, colors and so on?
RitchTextEdit control
   
What does Extended Select property mean and which control has that property?
ListBox control has Extended Select property. This property allows you in selecting:
multiple sequential items in a ListBox using Shift key.
multiple non-sequentially placed items using a Control key.
   
In which of the following attributes of a CommandButton changes are allowed?
Text
Border
Background color
Name
size
Font color
You can change Text, Name, Size of a CommandButton. You can't change Border, Background color, Font color of the CommandButton.
   
What advantage a PictureButton has over a CommandButton?
PictureButton allows you to display a picture along with the text on the button. You can also display text in multiple lines which is not possible in a CommandButton.
   
If there are ten Checkboxs placed on a window, how many of them can you check off at any given time?
You can check off any number of Checkboxes.
   
If there are ten RadioButtons placed on a window, how many of them can you check off at any given time?
You can check off only one RadioButton at any time, unless you place some RadioButtons in a GroupBox control.
   
What is an accelerator key?
Accelerator key allows you to select a control using the keyboard instead of a mouse.
   
What is tab order?
Tab order specifies the order in which the focus moves from one control to another when the user presses the tab key.
   
Explain the Default, Cancel properties that are available for a CommandButton.
Clicked event triggers when the user presses Enter key, if the Default property is set.Clicked event triggers when the user press Esc key, if the Cancel property is set.
   
In a situation given below, how do you prevent the triggering of CommandButton's clicked event, when the user presses the Enter key.

A window has a CommandButton with Default property checked off. This window also has a MultiLineEdit control and it has the focus.

You need to set Ignore Default Button property for that MultiLineEdit control.
   
Explain the behavior of a "Response" window.
A "Response" window doesn't allow you to do anything within the application except in the "Response" window.
   
What is a code table? Which controls have this property?
Code tables allow you to do translation. It allows you to display long names on the control while allowing you to save short names. Only EditMask control allows you defining "Code Tables" property.
   
There are few controls in a window whose visible property is  turned off because you don't want to display it at run-time. How do you make the hidden controls visible while you paint the window.
You need to turn on Show Invisibles property by choosing Design/Options option from the menu.
   
Howis Drawing objects such as circles, rectangles different from other controls such as CommandButton, StaticText, etc.?
Drawing objects do not have Drag and Drop related events. You can't write scritps for Drawing objects.
   
Which of the following controls allow multiple item selections?
ListBox
PictureListBox
DropDownListBox
PictureDropDownListBox
All of of the above
ListBox, PictureListBox
   
Visually how do you recognise a CommandButton that has its Default property set.
CommandButtons that have Default property set have thick border.
   
How a Child window is different from a Popup Window?
A child window can't move outside its parent window where as a popup window can.
   
What is the behavioral difference when you open the Child window
1. Directly
2. From another Window
When a child window is opened from another window, it behaves like a child window and the window that opened the child window becomes its parent window.
A Child window when opened directly behaves like a main window.
   
What is the technique you use to display the accelerator key for a SingleLineEdit control?
You can't`display the accelerator key for a SingleLineEdit control, even though you define one. To display the accelerator key, display the accelerator key to the StaticText control that is used for labelling the SingleLineEdit Control.
   
Which of the following statements is correct?
You can specify two menus for a window of type "Main"
A window of type "Response" can't have a menu.
A window of type "MDI" can't have a menu.
Only option 2 is correct.
HomePrevious Lesson: Summary
Next Lesson: Window Painter - Exercises

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