[Gambas-user] Unable to update value of WebTextBox or other control present in tab not visible in WebTabPanel
Safiur Rahman
isafiur at gmail.com
Thu May 18 05:58:53 CEST 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230518/b24c7279/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabpanel.zip
Type: application/zip
Size: 15287 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230518/b24c7279/attachment-0001.zip>
More information about the User
mailing list