Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FormItem.focusInItem(int)

    I have a DynamicForm with 4 TextItems. I'm setting the TabIndex and GlobalIndexes to 4, 5, 6, 7 respecitively. I'm setting focus explicitly using the focusInItem(int) method from the FormItem class. The reason for starting the tab indexes at 4 is that this dynamic form is embedded within another dynamic form and the tab indexes do not setup properly. The "parent" form is calling the focusInItem(int) method so that tabbing from ctrl to ctrl is in the desired order.

    I'm getting the following message in the Develpers Console when attempting to set focus:

    Code:
    15:06:07.939:KUP2:WARN:DynamicForm:isc_OID_170:couldn't find focus item: 4
    The documentation for focusInItem(int) describes the parameter as the itemNumber. I took this to be the tab index, but this does not seem to work. Is there another id that is to be used?
Working...
X