[quote userid="377136" url="~/cadence_technology_forums/f/custom-ic-skill/38309/custom-window--ed-form-assign-enter-for-specific-callback/1353733#1353733"]There should be way to trigger a CB in window form when those two criteria are met: 1) Field in focus & 2) Main Enter Key is pressed [/quote] There isn't though (regardless of whether it's a window form or a standard form) - there's no field-specific enter callback. On standard (non-window) forms, enter (or return) triggers the form callback (can't double check as I don't have a numeric keypad on my keyboard), and for window forms it doesn't do anything unless you define a bindkey - which can't be field-specific. However, one approach you could possibly take is to define a bindkey for your window form and then use: hiGetKeyboardFocusField(yourForm) to retrieve the name of the current focus field. Then you can do a specific action based on which field is in focus in the callback (e.g. with a case() function) Does that solve it for you? Regards, Andrew
↧