on 12-23-2014 12:19 PM
Hi,
I have the following window , window1,window2,window3.
window2, window3 are inherited from window1. Window1 has an instance variable with value is_flag = 'First Counter" which was set in window1. But when I am using that variable is_flag , in Window2 and Window3 it is getting as null. The value "First Counter" is not getting from window2 and window3.
How I can access the value in Windows2, Windows3 , from WIndow1.
Regards
Pol
Hi Polochan,
It works for me. Can you show your code?
ancestor window declaration
string is_flag = 'First Counter'
open event of decendant window
st_1.text = is_flag
hth,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Polachan;
Did you declare the variable as Protected?
ie: Instance Pool
Protected:
is_flag = 'First Counter"
PS: I am assuming that you meant PB Classic vs PB.Net which will not allow you to see this in its IDE (a major flaw IMHO) in Window 2/3.
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.