Re: NewEra 2.2 Superfield focusout() not working!!
Posted in 1997
Tim Simpson <tim.simpson@excelsis.co.uk> wrote: >I have a free form supertable and a button. I have discovered that the >focusout() event only happens when focus transfers to another >superfield. If the user tabs to the button instead, the focusout() event >doesn't happen until focus moves to another superfield!! focusOut does happen. Don't you mean acceptCell (and all the event underneath that)? You can call acceptCell in your focusOut event and focus back on the field if it returns false. You'll also have problems with superfields and buttons because if the user enters data into the field and then uses the mouse to press the button, the button activate will occur before the field focusOut. You can either call the field validation events from the button or move the activate code to another event and post it from the activate. >How stupid! If focus moves from a control on the window why doesn't it >happen. >Any thoughts to a simple solution? >-- >Tim Simpson David David W Chan GO5 Limited david@go5.com (work) dwc@cix.compulink.co.uk (home)