View Single Post
01-30-14, 07:31 AM   #2
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Apr 2013
Posts: 203
Frames might not have click events, but they have MouseDown and MouseUp, which also let you know which button was pressed.

Lua Code:
  1. MyFrame:SetScript("OnMouseDown", function (self, button)
  2.     if button=='LeftButton' then
  3.         print ('OMG left button?!')
  4.     end
  5. end)
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
  Reply With Quote