View Single Post
11-17-12, 04:18 PM   #5
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 89
Originally Posted by Jonisaurus View Post
Ah thanks for the answer!

SetAlpha would be OK with me. Could you quickly show me how to do it?
I'm unfamiliar with Bartender so I can't really give you code that I know works. But in your above example, if you were to replace, for example, BT4Button75:Show() with BT4Button75:SetAlpha(1), and BT4Button75:Hide() with BT4Button75:SetAlpha(0), that should give you an idea. Basically SetAlpha(0) will make something fully transparent in place of Hide(), and SetAlpha(1) will make something fully opaque in place of Show().

Of course, as I mentioned, using this method means the frames will technically always have to be shown and will probably always be clickable depending on how Bartender works, regardless of whether the buttons are transparent or not at any given moment.
  Reply With Quote