Home > database >  Intermodulation object problem between pb open call window
Intermodulation object problem between pb open call window

Time:10-20

//button in w_test1 cb_1 write code open w_test2
Windws w1
Open (w1, 'w_test2)
//then write code in w_test1
W_test2. Cb_1. Text='00'

Error: null object...
Isvalid (w_test2) status to false
How to solve, I don't want to be solved through global variables or openwithparm object, is there any other way

CodePudding user response:


Open (w_test2)

W_test2. Cb_1. Text='00'

CodePudding user response:

If you use the following code to open the window
Open (w1, 'w_test2)
//then write code in w_test1

You can't cause w_test2, because did not create this object, you can reference through w1, all you can use global variables, you can also use getfirstsheet and getfirstsheet, premise is to use mdi window
  • Related