[Gambas-user] Error in getting value of WebComboBox when changed to ReadOnly

Safiur Rahman isafiur at gmail.com
Mon Apr 19 02:46:11 CEST 2021


Hi
The bugtracker doesn't allow log in. That's why I have to put on mailing
list.

On Sun, 18 Apr 2021, 14:00 Safiur Rahman, <isafiur at gmail.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210419/8ba80616/attachment.htm>


More information about the User mailing list