[Gambas-user] variable in WebForm not remember
=?UTF-8?Q?=D7=9E=D7=99=D7=95=D7=A1=D7=98_=D7=A9=D7=A8=D7=95=D7?==?UTF-8?Q?=9F?=
sharon at ...3639...
Sun Jan 15 18:31:05 CET 2017
hello
I have WebForm1
I put on the WebForm1 two controls of WebButton1 WebButton2
I have a variable of type String named my_A
I would like when I press the WebButton1 the my_A = "sharon" and when I click on
WebButton2 I want to get the value found in my_A
The problem that when I click on WebButton2
The value of the variable my_A is empty ""
It's what's inside that WebForm1.class
' Gambas class file
Export
Private my_A As String
Public Sub WebButton1_Click()
my_A = "sharon"
End
Public Sub WebButton2_Click()
WebButton2.Text = my_A
End
More information about the User
mailing list