View Single Post
  #6  
Unread 06-15-2007, 02:15 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Ok, there are a few ways of working around this. If any button has the property IsDefaultButton="true" that button will trigger when you press Enter. So, you may be able to use a hidden button that disables your textbox as soon as you press Enter. The property IsCancelButton="true" makes that button trigger when you press Esc.

Sometimes you have to force focus to some other window. I've followed Zonx's recommendation and forced it to the player window (which doesn't have any text box or dropdown to grab focus) with the script "set_focus Parent.Parent.Parent.Player.FullPath" or something similar.
Reply With Quote