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

Questions And Answers for PowerBuilder CPD Exam

HomePrevious Lesson: Question: #59 of #233
Next Lesson: Question: #61 of #233
Question: #60 of #233 Section: Window Controls Version: 5.0 or later

Question

A window event/function has the following script:
WINDOW lw_MyWindow
lw_MyWindow = PARENTWINDOW

 [A] No matter where you code it, it will result in compilation error unless you call this on a MENU object.
 [B] Refers to the parent window, i.e., MDI window if this window is opened as a sheet in the MDI window. Otherwise, it referrs to NULL.
 [C] Refers to the associated WINDOW.
 [D] Since, window doesn't have a PARENT, it refers to the WINDOW itself in which it is called.

Click here to see the answer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Answer

The correct answer is: A, C

Click here to go to top of the page.

Click here to see the explanation.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Explanation

PARENTWINDOW is a pronoun used in the menu to refer to the associated Window. However, Window has a function ParentWindow(), which is typically called to get the MDI window reference in which that window is opened as a sheet.

Click here to go to top of the page.

HomePrevious Lesson: Question: #59 of #233
Next Lesson: Question: #61 of #233

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