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 Interviews

HomePrevious Lesson: Question: #17 of #131
Next Lesson: Question: #19 of #131
Question: #18 of #131 Section: DataWindow Version: 5.0 or later

Question

Explain the advantages and disadvantages of calling AcceptText() function from the ItemChanged event of a DataWindow control.

Click here to see the answer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Answer

AcceptText() function shouldn't be called from ItemChanged event. This is because, AcceptText() function triggers the ItemChanged event. That means, calling AcceptText() in the ItemChanged event will go into a loop. So, there are only disadvantages, no advantages. If you really need to call AcceptText() from ItemChanged event, create a user-defined event and post that event from the ItemChanged event.

Click here to go to top of the page.
HomePrevious Lesson: Question: #17 of #131
Next Lesson: Question: #19 of #131

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