Jump to content

Problem with TabPanel on FR


Recommended Posts

Hi all, I'm putting together a section of My Account on my server, I want it to be a little window with a tabpanel that has the following tabs:

  • Start (where it shows the basic statistics, name, type of account, level, etc)
  • Configuration (where it will show buttons to change the password, delete the account, etc)
  • Clan/Gang (where it would show data exported from the gangystem)

For now I can not think of any other flap, if any one sees a utility to a flap I could also recommend it

The problem is this, I am creating this through the freeroam resource GUI (since the My Account button is in the freeroam too, then I wanted to do everything together).

The code is the following:

wndCuenta = {
'wnd',
text = 'LPMV2 - Mi Cuenta',
x = 380,
y = 190,
width = 500,
height = 800,
controls = {
{'tbp', id='tbp1', text='pruebaTabPanel', width=200 , height=200},
},
}

 

The result:

cca8244735057b69f22af7e332cc2cfe.png

 

It's strange, but I say ... maybe the tab is missing for it to work, so I add it and the code looks like this:

wndCuenta = {
'wnd',
text = 'LPMV2 - Mi Cuenta',
x = 380,
y = 190,
width = 500,
height = 800,
controls = {
{'tbp', id='tbp1', text='pruebaTabPanel', width=200 , height=200},
{'tab', id='tab1', text='pruebaTab', width=200 , height=200},
},
}

 

But the result is that when I want to open this section (My Account) it shows the last 2 errors in the debugscript (ignore 'callesgroove' resource)

a01ec6983b03209ee8ec3a5ee97a0c4c.png

 

Somebody could help me? From already thank you very much!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...