EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-12-2010, 06:25 PM
discord37 discord37 is offline
A Young Mystail Rat
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Unrest
Posts: 6
Default 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>
__________________
Zehl/Katayira of Unrest
Computer 1: WIN Vista 64
Computer 2: Win XP

Last edited by discord37 : 10-12-2010 at 07:01 PM.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 01:24 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI