09-04-2008 10:41 AM
I have a horizontal manager that contains 2 fields. When I invoke field.setFocus(), it calls the manager onUnfocus() method and the manager.isFocus() returns false and manager.getFieldWithFocus() returns null.
Is this behavior correct? I thought that a manager has a focus as long as one of its fields has focus.
The manager that I have is a custom manager that extends the HorizontalFieldManager.
09-05-2008 05:22 AM - edited 09-05-2008 05:24 AM
Try to use getLeafFieldWithFocus() instead of getFieldWithFocus()
Note that Manager is a descendant of Field class.