EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Press enter, what's the code? (https://www.eq2interface.com/forums/showthread.php?t=14985)

discord37 10-12-2010 06:25 PM

Press enter, what's the code?
 
It's time to learn this in greater depth I guess, because one by one my mods are becoming obsolete and the creators quit years ago. Today's is the trade window. I would like to change it to be same but with press enter to accept.

I'm looking at a modded one of the old window and I just can't figure out what is making press enter work for it.

Any help much appreciated.

edit:

Ok I kind of have it, the accept button is in the wrong spot, I'm not sure why it doesn't match up but I can live with 2 accepts because it works just as the old one did which is a huge ++++ for the physical pain I have in my hands. I can't be bothered to tweak the #s to fix the location, it works and that's all I care about.

I added this code:

Code:

<Button IsDefaultButton="true" LocalText=":b71b3b774b7317fd:Accept" Location="32,365" MaximumSize="16384,38" MinimumSize="32,38" Name="buttonAccept" ScrollExtent="120,38" Size="120,38"  Style="/CommonElements.LargePushButton.data.style">:b71b3b774b7317fd:Accept</Button>
BETWEEN these 2:

Code:

    <Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" Location="32,365" Name="acceptedText" PackLocation="left,bottom" PackSize="absolute,fixed" ScrollExtent="307,28" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="307,28" TextAlignment="Center" TextAlignmentVertical="Center">:b71b3b774fd195fd:ACCEPTED</Text>
Code:

    <Button Location="50,392" MaximumSize="16384,38" MinimumSize="32,38" Name="buttonAccept" PackLocation="cfc,bottom" ScrollExtent="120,38" Size="120,38" Style="/CommonElements.LargePushButton.data.style">:b71b3b774b7317fd:Accept</Button>


All times are GMT -5. The time now is 11:01 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI