Jump to content

TabPanel w skrypcie freeroam


Recommended Posts

Witam, mam pytanie w jaki sposób w skrypcie freeroam mogę stworzyć tabpanel

wndElement = {
	'wnd',
	text = 'on/off',
	x = 20+230,
	y = 180,
	width = 300,
	controls = {
		{
			'tbp',
			id='bg',
			width=280,
			height=340,	
		},

		{'br'},
		{'btn', id='button one', text="teleport 2", onclick=elementCar, width=137},
		{'btn', id='close window', closeswindow=true, width=137}
	}
}

wiem że to tego celu trzeba użyć tych danych jednak nie do końca wiem w jaki sposób to napisać

	tbp = {className = 'TabPanel'},
	tab = {className = 'Tab', padding = 10, isContainer = true},

chce utworzyć 3 zakładki i żeby w każdej z nich było przynajmniej po 1 przycisku tak abym wiedział jak coś takiego napisać, z góry dzięki za pomoc.

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...