[Gambas-user] Two bugs on gb.web.gui

gian bagoneo at libero.it
Mon Nov 14 15:45:31 CET 2022


Il 14/11/22 11:41, Marco Ancillotti ha scritto:
> HI all ,
> 
> I think I found two bug on gb.web.gui .
> 
> FIRST:
> I've create a simple web page with a webtabpanel and a webcombobox 
> linked by code:
> 
> /Public Sub cbox_Click()//
> //  tab.index = cbox.Index//
> //End/
> 
> So when combobox change tabpanel change as well.
> Now on webform_open I have a /
> /
> 
> /tab.index = 2
> cbox.index = 2/
> 
> And everythink work as expected...
> BUT if I put before the index change a simple webtextbox.text = 
> "somethink" ti completely hangs.
> 
> 
> SECOND:
> 
> if I call the same webform from another as form.showmodal() the tabbox 
> don't refresh the tab selected if I change it
> on form opening.
> 
> 
> I attach an example of bugs.
> 
> gambas is latest daily trunk from ubuntu ppa.
> 
> Thank's in advance ,
> marco.
> 

Hi Marco,

In test.class delete the current code and try this code:

Public Sub cbox_Click()

   tab.Index = cbox.Index

End

 From the project menu first you need to give a "Compile All"

Regards

Gianluigi



More information about the User mailing list