forums/development/440/1
The error you posted does not in any way match your code, but this will not getglobal(this:GetName().."Text"):SetText("Offset"); getglobal(this:GetName().."High"):SetText("12");...
View Articleforums/development/440/10
I've gotten the sliders to work finally... by looking at your examples http://wowprogramming.com/docs/scripts/OnValueChanged Its definitly confusing though trying to look at the script based examples...
View Articleforums/development/440/11
The conversion between the two is quite literally 1 for 1, everything you can do with one you can do with the other. I can try and help for simple examples, to convert things.
View Articleforums/development/440/12
Ok... one liner from the OnValueChanged on the site... slider:SetScript("OnValueChanged", function(self, value) What does this translate to in xml?
View Articleforums/development/440/13
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...
View Articleforums/development/440/14
> 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. That's because it's...
View Articleforums/development/440/15
> Ok... one liner from the OnValueChanged on the site... >> slider:SetScript("OnValueChanged", function(self, value) >> What does this translate to in xml? umm, the rest of the code...
View Articleforums/development/440/16
Ok... Thats what I thought the first time around was that the error was saying that "Recruiter_Slider1_OnClick" didn't exist... but the problem is.. it does exist... To prove to myself that it did...
View Articleforums/development/440/17
> Ok... Thats what I thought the first time around was that the error was saying that >"Recruiter_Slider1_OnClick" didn't exist... but the problem is.. it does exist... To prove to myself that it...
View Articleforums/development/440/18
You hit it right on the head, the problem was that I was setting a value for default on both sliders... as soon as I removed that from the xml part... the error disappear... I would have been pulling...
View Articleforums/development/440/19
Ok... been beating my head against this for a few hours now... Where should I be setting the default value on a slider so that it starts out showing the slider icon? If I set it in the xml It works...
View Articleforums/development/440/2
> The error you posted does not in any way match your code, but this will not >> getglobal(this:GetName().."Text"):SetText("Offset"); > getglobal(this:GetName().."High"):SetText("12"); >...
View Articleforums/development/440/20
Never mind... I figured out my issue... needed to change the lord order in the toc... for some reason I didn't think you could do that... lol... Hammerhead... thats me... On to other problems!
View Articleforums/development/440/3
`self`, not `Self`. There's a big difference =) I can't say much else without the real error and code.
View Articleforums/development/440/4
I'm definitly not understanding what the error means... I changed the code to self instead of this... and got this error instead... 1x :"recruiterFormHorizontalSlider1Slider:OnLoad":1: attempt to index...
View Articleforums/development/440/5
Here is the XML file http://pastey.net/145294 Here is the LUA file http://pastey.net/145295
View Articleforums/development/440/6
You ask for `getglobal(self:GetName().."Text"):SetText("Offset");` only that's not actually anywhere in your definition. So the expression `getglobal(self:GetName().."Text")` returns `nil`, and then...
View Articleforums/development/440/7
> You ask for `getglobal(self:GetName().."Text"):SetText("Offset");` only that's not actually anywhere in your definition. So the expression `getglobal(self:GetName().."Text")` returns `nil`, and...
View Articleforums/development/440/9
> Yeah, I am not quite sure what to tell you. I think my troubles are a combination of trying to use the wowuide created junk, and then trying to figure out how to do a slider from sample code...
View Article