EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   Help ! ? ! ? (http://www.eqinterface.com/forums/forumdisplay.php?f=16)
-   -   about Listener for button (http://www.eqinterface.com/forums/showthread.php?t=22114)

newtonform 08-22-2018 03:14 AM

about Listener for button
 
Hi,I have a question for button listener.
for example EQUI_Inventory.xml ,The Destroy button:
<Button item="IW_Destroy">
<ScreenID>IW_Destroy</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>202</X>
<Y>402</Y>
</Location>
<Size>
<CX>50</CX>
<CY>20</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Destroy</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
</Button>

I cannt see EQTYPE or function for"IW_Destroy" ,I dont know how it to work, thanks!

newtonform 08-22-2018 07:41 AM

1 Attachment(s)
I try to add "Destroy" button into Loot window,but it not work.

<Button item="LW_Destroy">
<ScreenID>IW_Destroy</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<AutoStretch>true</AutoStretch>
<LeftAnchorOffset>316</LeftAnchorOffset>
<TopAnchorOffset>34</TopAnchorOffset>
<RightAnchorOffset>111</RightAnchorOffset>
<BottomAnchorOffset>10</BottomAnchorOffset>
<RightAnchorToLeft>false</RightAnchorToLeft>
<BottomAnchorToTop>false</BottomAnchorToTop>
<TopAnchorToTop>false</TopAnchorToTop>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Destroy</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BigBtnNormal</Normal>
<Pressed>A_BigBtnPressed</Pressed>
<Flyby>A_BigBtnFlyby</Flyby>
<Disabled>A_BigBtnDisabled</Disabled>
<PressedFlyby>A_BigBtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
</Button>

Halelen 08-22-2018 09:30 PM

Correct it has no eqtype

newtonform 08-23-2018 01:04 AM

thank you for reply.
I wanna add a Destroy button into loot window.
How can I let it work?

Angahran 08-23-2018 04:31 PM

Sorry :(
 
If it doesn't have an EQ Type then you cannot move it outside it's original window.

newtonform 08-23-2018 08:37 PM

thank you
 
I see,thank you for your answer.


All times are GMT -5. The time now is 05:14 AM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.