Quantcast
Channel: Recent Additions to 'Slider XML Help. '
Viewing all articles
Browse latest Browse all 20

forums/development/440/13

$
0
0
I'm still confused about this Self deal... In my main frame script section I have... Recruiter_OnLoad(self) And it works fine.. no errors. I have this in my slider script section and I get an error about accessing a gobal nil. Which I assume must be the "self" since the value attrib is passing and working. Recruiter_Slider1_OnClick(self,value); Just confused as to why self works in some places and not others... Its used in your slider example... but yet I can't seem to get it to not error for me... It works... but still posts an error. slider:SetScript("OnValueChanged", function(self, value) The exact error I get is : but it still functions... so kinda confusing. 1x :"Recruiter_SubSlider1:OnValueChanged":1: attempt to call global 'Recruiter_Slider1_OnClick' (a nil value)

Viewing all articles
Browse latest Browse all 20

Trending Articles