Home > database >  Pb can call other window controls?
Pb can call other window controls?

Time:09-27

Writing an application, encountered a problem:
In W_1 window enter the user name, in the window call W_1 input user name no problem, use sle_1. Text is ok, but the problem is the input user name and password are correct after W_2 to get to the next window, can want to ask next before get a window to enter the user name?

CodePudding user response:

In w_2

For example: w_1. Dw_1. Getitemstring (m, n)

CodePudding user response:

On the first floor of the top
Have to get before closing the first form, otherwise the error

CodePudding user response:

If isvalid (w_1) then
W_1. Dw_1. Getitemstring (m, n)
end if

CodePudding user response:

Very basic questions, you can directly take, by using the method of upstairs can also be passed through openwithparm username.

CodePudding user response:

Or use structure, variables, or how to read and write ini literally can cough up

CodePudding user response:

For the user name, it is recommended to use global variables, because you can't expect in other locations will need to refer to it,
  • Related