[Gambas-user] Error in getting value of WebComboBox when changed to ReadOnly
Safiur Rahman
isafiur at gmail.com
Sun Apr 18 10:15:29 CEST 2021
Hi Benoît
When I convert Non-Readonly WebComboBox to Readonly WebComboBox then
there is an issue in getting Text of WebComboBox
Eg.
Put a WebComboBox in form and set its ReadOnly Property as False
Public Sub _new()
WebComboBox1.List = ["aaa", "bbb", "ccc", "ddd"]
WebComboBox1.Text = ""
WebComboBox1.ReadOnly = True
End
Public Sub WebButton1_Click()
WebTextBox1.Text = WebComboBox1.Text
End
You get WebTextBox1.Text = -1
Attached project
--
Regards
Safiur Rahman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReadOnlyCombo.zip
Type: application/zip
Size: 14869 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210418/8bb0cd35/attachment.zip>
More information about the User
mailing list