EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Key press = default button? (https://www.eq2interface.com/forums/showthread.php?t=5645)

SkylyJay 02-13-2006 02:03 AM

Key press = default button?
 
Sorry if this is explained somewhere else, but I was unable to find it.

I have a few windows, I'd like to change slightly, and for the most part, I have it figured out. One thing I cant find the details for, is how some custom windows, have a key press, activate the default button of the top most window. Such as some tradeskill windows, having the enter key able to activate the create, repeat, stop buttons.

If someone would explain how to set that up, I would apreciate it.

Magus 02-13-2006 05:15 AM

IsDefaultButton="true"

in the button tag

SkylyJay 02-13-2006 06:26 PM

Thanks! I cant beleive I kept overlooking that default button tag. I was thinking that each window had a set button as default. Its working just how I wanted!

Zonx 02-14-2006 02:57 AM

IsCancelButton="true" makes it activate with ESC ;)

SkylyJay 02-14-2006 02:37 PM

Thank you Thank you!


All times are GMT -5. The time now is 12:10 AM.

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