Thread Tools Display Modes
09-04-11, 11:09 AM   #1
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
Add "APPLY" button

In my config of Ace i have alot of setting that need a reload to apply them.

How would i go about setting up a "APPLY" button in the lower right corner of the config screen so that people can change the setting they want to then click apply to make it all happen.

Right now im using a staticpopup when one of the args is changed it pops up to reload the ui.

Thanks for any help with this.

Coke
  Reply With Quote
09-04-11, 01:09 PM   #2
Waky
A Cobalt Mageweaver
 
Waky's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 200
It'd probably be better to suggest this over at WoWAce as they are the ones who created Ace.
  Reply With Quote
09-04-11, 02:37 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Why aren't you just making the changes dynamically with your set function?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-05-11, 04:05 PM   #4
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
Ok Well looks like this is the best im going to get.




Thanks to everyone that helped.
  Reply With Quote
09-05-11, 05:27 PM   #5
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
I don't know anything about actually writing addons, but.......

Couldn't you make a button labeled "Apply" on your config screen, and when it's pushed, basically run "/reload ui"? Maybe put some text there to remind the user that if changes have been made they have to click the "Apply" button to .... apply them, which will automatically reload the UI.

I suggest checking out Tekkub's Ampere to see how he did it. Although, his button actually say's "Reload UI".
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
09-05-11, 05:28 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
It would be vastly better if you just applied the settings immediately when the user changes them, like every other addon.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Add "APPLY" button


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