View Single Post
04-28-23, 10:06 AM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
Originally Posted by AeroMaxxD View Post
I'm not sure I understood that.

What is "OnLoad Change" is that the name of a function?
Just changing the text of the NextButton to show something happend after the frame was created (what you "might" have previously done in your OnLoad function)

Originally Posted by AeroMaxxD View Post
I'm getting the error "attempt to call method 'SetText' (a nil value)".

I'm using this code however, slightly different from yours.

Lua Code:
  1. AMD_TabOnCharacterFrame:SetText("OnLoad Change")
Because AMD_TabOnCharacterFrame doesn't have/isn't a FontString which is why I used the AMD_TabOnCharacterFrame_NextButton but I might have the name wrong or maybe you've removed the button...

I don't know what your code looks once you've made changes so I'm just guessing what might work.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote