View Single Post
07-08-13, 06:40 PM   #7
Yksrep
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 21
Originally Posted by Phanx View Post

Also, as someone earlier in the thread mentioned, since you're only ever going to be showing buttons for one city at a time, you should just use a single frame, and update it according to which city you're in, instead of creating a separate frame for every city.
That's not strictly how I intend it to work. I intend the user to be able to select which city they want to go to. However I get what you mean, I can set it up for on CityselectStormwind button (for example) to Show the relevant buttons associated with Stormwind in the Scroll Frame. Is that what you mean?

On another note does anyone know a good reference to a working example of how to pull buttons from a database (similar to how gmacro did his). Or wold it be better to just register that once the city is selected it displays the buttons from another lua.
  Reply With Quote