Reply
Thread Tools Display Modes
Unread 06-29-05, 03:54 PM   #1
flyt
A Kobold Labourer
Join Date: Jun 2005
Posts: 1
using the same frame over and over again?

so, i'm wondering how i can make a button working like a tab, so that when you click it all new for example buttons will appear, and the others will disappear.

guess i kinda want to know how to make something kinda like the cosmos config frame, a list with addons, and when you click you get you get options for only that addon.

so pretty much, How do you change the frame layout with the click of a button?

i'm very new to xml, but i thought maybe you could put all the buttons/checkboxes/texts in the window, and then when you click a button to change "tab" it would do something like;

Code:
if (id == "2") then
button1:Hide();
button2:Hide();
button3:Show();
text1 = "";
text2 = "Button2:";
end
but is this really the easiest way?

thanks, i know i suck at explaining...
flyt is offline   Reply With Quote
Unread 06-29-05, 04:22 PM   #2
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 156
I don't know if its the easiest but thats how I do it.

Otherwise you can group them by frame and just hide the frame name so they all hide.
__________________
If not yourself, who can you count on...
Inokis is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » using the same frame over and over again?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off