Thread Tools Display Modes
09-04-09, 01:48 PM   #1
numerical25
A Kobold Labourer
Join Date: Sep 2009
Posts: 1
My form wont move

My form for my application wont move. I added all the attributes. like movable and enable mouse but still nothing. take a look at the code and let me know what you think. thanks.

Code:
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Frame name="combatTrackerFrame" parent="UIParent" toplevel="true" movable="true" frameStrata="LOW" enableMouse="true">
		<Size>
			<AbsDimension x="175" y="40" />
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset x="197" y="25" />
			</Anchor>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="$parentText" inherits="GameFontNormalSmall" setAllPoints="true" text="CombatTracker" />
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>combatTracker_Onload(self)
self:RegisterForDrag("LeftButton");</OnLoad>
			<OnEvent>
        combatTracker_OnEvent(self,event,...)
      </OnEvent>
			<OnClick>
        combatTracker_ReportDPS()
      </OnClick>
			<OnDragStart>self:StartMoving()
self:StartMoving();</OnDragStart>
			<OnDragStop>self:StropMovingOrSizing()
self:StopMovingOrSizing();</OnDragStop>
		</Scripts>
	</Frame>
</Ui>
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » My form wont move


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