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

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to