[Gambas-bugtracker] Bug #2687: WebTabPanel does not show its content Gambas 3.18

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Jan 21 16:53:57 CET 2023


http://gambaswiki.org/bugtracker/edit?object=BUG.2687&from=L21haW4-

Comment #2 by Omar MORENO:

It should have Tab 1 displayed by default,
but in the HTML you can see that all Tabs start with gw-hidden

Try showing Tab1 on WebForm load with:

WebTabPanel1.Children[0].Show()
WebTabPanel1.Refresh()

Testing:

In the _New() event, it doesn't work, it remains gw-hidden.

I also can't use the WebForm_Open() event because it has never worked when you load a WebForm inside a WebContainer.

Tabs are only shown if you change tabs or run code from a WebButton

Note: The IDE bug was fixed by rebooting the PC.

----------------------------------------------------------------------------

Attachment: WebTabPanel.webm

Omar MORENO changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list