Thread Tools Display Modes
04-13-09, 04:07 PM   #1
Aurorablade
A Deviate Faerie Dragon
 
Aurorablade's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 16
LibQtipclick and LDB help

Okay so i have LQTipClick set up to display on my LDB mouseover, however what i would like to do for the purposes of this mod is for it to show on say a right click, I tried one method i could think of but it didn't work as intended.

Also does LDB accept click modifiers, IE, i have my Tip on right click but another function trigger on an ALT right click.
  Reply With Quote
04-13-09, 07:28 PM   #2
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
You should have something along these lines:

Code:
function DataObj:OnClick(button)
        if button == "RightButton" then
                if IsControlKeyDown() then
                        DoControlStuff()
                else
                        ShowYourTooltip()
                end
        else
                WhateverElse()
        end
end
As the author of LibQTipClick, I should point out that its official forum is here
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
04-13-09, 07:32 PM   #3
Aurorablade
A Deviate Faerie Dragon
 
Aurorablade's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 16
yeah i had bugged you before...I am just trying to lessen my 'bug mod author with idiot question' quota...
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » LibQtipclick and LDB help

Thread Tools
Display Modes

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