View Single Post
10-21-10, 04:34 AM   #3
Yksrep
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 21
Thanks mate I got that working and I added
Code:
	<OnDragStart>
		if IsShiftKeyDown() then
		PointMe_Button:StartMoving()
		end
	</OnDragStart>
so that I have press shift and left click to move it.

But now for some strange reason it now appears behind the world map so that I cant click on it but I found by adding
Code:
toplevel="true">
to
Code:
<Button name="PointMe_Button" inherits="GameMenuButtonTemplate" parent="WorldMapFrame" text="Point Me" movable="true" toplevel="true">
and now it all works
  Reply With Quote