Help
Regional FlagIs SecureHandlerMouseUpDown functional?Source
avatar
Nabawe
Target Source
#0 - 2009/02/18 08:16:31 PM
Sry to disturb you all but I was wondering if:
SecureHandlerMouseUpDownTemplate was functional.


I have this little code:

local button = CreateFrame("Button", "FFButton5", UIParent, "SecureHandlerMouseUpDownTemplate");
button:SetAttribute("_onmouseup",[[
print("Up ", button)
]]);
button:SetAttribute("_onmousedown",[[
print("Down ", button)
]]);

SetBindingClick("2", "FFButton5", "LeftButton");
SetBindingClick("3", "FFButton5", "RightButton");
SetBindingClick("4", "FFButton5", "ClickC");

and whenever I hit any of the above keys I get the following error:

Message: ..\FrameXML\SecureHandlers.lua line 150:
attempt to call method 'GetAttribute' (a nil value)

Debug:
[C]: GetAttribute()
..\FrameXML\SecureHandlers.lua:150: SecureHandler_OnMouseUpDown()
[string "*:OnMouseDown"]:1:
[string "*:OnMouseDown"]:1



I would like to know if I am doing something wrong.

Thanks for your time.

avatar
Blue Poster
Target Source
#4 - 2009/02/19 12:06:46 AM
This will indeed be fixed on the PTRs.