Realize the parameters between windows

zhaozj2021-02-16  48

Recently, use the PowerBuilder development program to feel very easy to use.

It is also very simple to create a module in VB to add the following code: SUB OpenFromwithParam (Byval Str As String) Dim Forms Form2 set form = new form2 form.str = str form.label1.caption = form.str form.Shownd Subform1 The code is as follows: private submmand1_click () Call OpenFromwithParam ("liyong") End Sub

Private sub flow_load ()

End Sub

FORM2 code:

Public Str As String

Private sub flow_load ()

End Sub

转载请注明原文地址:https://www.9cbs.com/read-23101.html

New Post(0)