View Single Post
05-31-09, 02:46 AM   #5
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 680
Originally Posted by Samsan View Post
Thx for that, basically as you said, I just needed the checkboxes to tick untick which they do ... I also realized that I need to explain my problems much more clearly...sorry about the confusion. I ended up leaving the script running from the xml checkbox, figured that when you unlocked the frame, locked by default, it would move with the cursor still over the checkbox and release when locked or checked again. I got a bit fuzzed by it. There are 4 sliders in the options, Frame Scale, Background Alpha, Minimap Radius and Minimap position.

The checkboxes I have finally sorted out, thx heaps...they are checked by default so when adding the line "self:SetChecked(DWMPackBaseFrame.FrameLockCheckButton)" it caused the button to be double checked in essence so it required selection, then activation.

The frame scale slider just has the 2 settings for some reason and wont shrink incrementally, just jumps from 100 to 50 even though its set to move at "step value=1".

The minimap position slider doesn't seem to work nor does the radius slider but I need to look into lua script for those and an xml thingy to link it from the sliders...lol or the xml scripts.

My main issue is the buttonText in lua rep frame with scrollframe .... "arrrgh" though causing an error...it worked to start with then through an error "can't index local buttonText."

OH by the way I have given you a plug on the main options screen when it opens as a thx for all the help you're giving me. If you would like your mods or something added/mentioned let me know plz and I'll add it in there for you...free advertising...lol
Heh. Credit appreciated, plugs not really needed. Most tend to frown upon "advertisements" for other mods.

You'd have to post/PM the lua for me to look at. I have a feeling that you may have things a bit backwards with your local declarations.

EDIT: Just out of curiosity, what value are you passing to the scale?

Last edited by Sythalin : 05-31-09 at 02:50 AM.
  Reply With Quote