[Gambas-user] Unable to update value of WebTextBox or other control present in tab not visible in WebTabPanel
Benoit Minisini
benoit.minisini at gambas-basic.org
Fri May 19 10:14:47 CEST 2023
Le 18/05/2023 à 05:58, Safiur Rahman a écrit :
> Hi
>
> I have two WebTextBox in two tabs of WebTabPanel. When I click a button
> to change values of both WebTextBox in both tabs then value of
> WebTextBox on visible tab changes but value of WebTextBox on tab which
> is not visible doesn't change.
>
> 1) This works
> Public Sub _new()
> WebTextBox1.Text = "abc" ''shows abc
> WebTextBox2.Text = "abc" ''shows abc
> End
>
> 2) This doesn't work
> Public Sub WebButton1_Click()
> WebTextBox1.Text = "def" ''shows def
> WebTextBox2.Text = "def" ''not showing def
> End
>
> This problem of WebTabPanel is present with all other controls like
> WebLabel, Grid View, WebCheckBox etc. The WebTabPanel_Click() provides
> the way to update value to those tabs.
>
>
> --
> Regards
> Safiur Rahman
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
It's fixed in commit
https://gitlab.com/gambas/gambas/-/commit/53fd551ba0b9deb59cac8447f6a212c5d990da4e.
Regards,
--
Benoît Minisini.
More information about the User
mailing list