Thread Tools Display Modes
11-01-10, 02:28 AM   #1
Drakonic
A Kobold Labourer
Join Date: Nov 2010
Posts: 1
Unhappy Addon scroll bar problem

For a good two days now I've been running through everything and trying to make my addon work properly. I've made a scroll bar and up and down arrows for a text box list for like teleport locations, how ever when you click the up or down buttons or try to drag the scroll bar, it does not move the list. Can someone possibly look into this? Request what you need and I will post it back asap.
  Reply With Quote
11-01-10, 07:56 AM   #2
eberkain
A Fallenroot Satyr
Join Date: Nov 2009
Posts: 20
no idea if its the proper way, but for the scrollbars I have in the addon im working on I used the OnValueChanged script to perform my updates.

So, I have one function that goes through and assigns the proper values to all the frames on the screen, the values it assigns are based on the slider:GetValue() method, so if that changes then the assigned values will also change.

At work, so not sure of the exact syntax, but I do something like this...

function UpdateDisplay()
--update the visible frames here
end

slider:HookScript("OnValueChanged", UpdateDisplay)
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Addon scroll bar problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off