Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 06-23-21, 01:54 AM
Replies: 9
Views: 2,529
Posted By Fizzlemizz
It looks like you're wanting something like the...

It looks like you're wanting something like the following to create a set of columns/rows:


local function buttonFrameButtonLayout()
local lastRelative, lastOnTop =...
Forum: Lua/XML Help 06-22-21, 08:21 PM
Replies: 9
Views: 2,529
Posted By Fizzlemizz
Using the Pastebin code and assuming all your...

Using the Pastebin code and assuming all your button names are consistant starting with "NewbDevBoxButtonFrame" and prefixed with the name in ButtonTable ie.

local xxx = CreateFrame("Button",...
Forum: Lua/XML Help 06-22-21, 08:04 PM
Replies: 9
Views: 2,529
Posted By Fizzlemizz
Possibly something like this so you can store...

Possibly something like this so you can store references to your created buttons into ButtonTable

local ButtonTable = {
LogoutButton = { active=true },
ExitButton = { active=true },
FStackButton...
Forum: Lua/XML Help 06-22-21, 07:53 PM
Replies: 9
Views: 2,529
Posted By Fizzlemizz
What is LogoutButton, ExitButton...

What is LogoutButton, ExitButton etc.?

Presuambly they relate in some way to how you're creating your buttons but it's all a bit hard to tell with just the code presented.
Forum: Lua/XML Help 06-22-21, 07:42 PM
Replies: 9
Views: 2,529
Posted By Fizzlemizz
thisButton = "ButtonFrame" .. k -- at this point...

thisButton = "ButtonFrame" .. k
-- at this point thisButton is a string, not an actual button.
thisButton:ClearAllPoints()
-- so this will fail

You need to resolve the string to an actual button...
Showing results 1 to 5 of 5