Panel() missing

Hi there, I have this error that I can’t solve:

TypeError: panel() missing 1 required argument: level

This error is link to this:

    get_open_form().content_panel.clear()
    get_open_form().content_panel.add_component(MyProjects())

Thank you

if you have a clone link that just highlights the problem you face we’ll be able to offer some specific advice as we’ll be able to dig around the code for you… at the moment there’s not really enough information to provide a good answer…

If I were debugging I would search for the panel function that needs the argument level which is probably in the MyProjects form…

1 Like

I wand to Navigate (using the Navigation Bar and 4 links to these 4 forms) througth 4 forms using this code. I made the form as content.panel. It work in the first click on these 4 links but when I click again the same link it return this error.

again would be helpful to see a clone link - if you can share one - above is the how to ^

1 Like

I solved it. There is a function that I don’t even need named panel so I deleted it

1 Like