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

Advanced PowerBuilder

HomePrevious Lesson: Global Variables
Next Lesson: Opening Window with a Parameter

Referencing Window Variables Directly

Instance variables are declared at the object level and are considered as the attributes of the appropriate object. You can therefore refer an instance variable as any other attribute of an object.
// Standard window attribute
w_product_master.visible = TRUE
// Instance variable attribute 
// w_product_master.InstanceVarName = FALSE

Instance variables can be declared with different access levels (We will be learning that in later sessions). To refer an instance variable from another object, it must be declared as Public access. This is the default access level, so worry about it only if you change the access level. It is a good idea to restrict access to these instance variables by providing methods which act on them and allow other objects to access them through these methods only.
HomePrevious Lesson: Global Variables
Next Lesson: Opening Window with a Parameter

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