Le 16/01/2018 à 10:08, מיוסט שרון a écrit :
hello

OS: Fedora 27 64BIT
Gambas: 3.10.0


I have WebForm1
I put on the WebForm1 3 controls of WebButton1 WebComboBox1 WebLabel1


When I press the WebButton1 it fills the combo box at "1" and "2"

When I select from the WebComboBox1 this should put the value within the 
WebLabel1 value
that I selected

It does work
But if I click again on WebComboBox1 it does not work

But if I cancel the line: "WebComboBox1.Clear" It does work

This is not good because it continues to add to the combo box

Thank you

' Gambas class file

Export

Public Sub WebButton1_Click()
   WebComboBox1.Clear
   WebComboBox1.Add("1")
   WebComboBox1.Add("2")
End

Public Sub WebComboBox1_Click()
   WebLabel1.Text = WebComboBox1.Text
End


Please subscribe to the new mailing-list at http://lists.gambas-basic.org, and post your question again. This mailing-list is deprecated.

Thanks.

--
Benoît Minisini

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to