Focus related Problem in itemEditor

10 views
Skip to first unread message

Byte_Head

unread,
Aug 27, 2010, 6:10:38 AM8/27/10
to Flex India Community
Hi All,

I have created an itemEditor, which consist an TextBox and a button
inside an HBox. When ever i am clicking on the cell, the itemEditor is
shown. The problem that i am facing is regarding the focus. After the
click the focus remains on the TextBox only for a fraction of second.

What i want is that just like simple textBox that can be taken as
itemEditor, the focus sould maitain on my itemEditor as well.

Please help me in this regard.

Regards,
Byte_Head

nithya flex

unread,
Aug 30, 2010, 7:36:04 AM8/30/10
to flex_...@googlegroups.com
By defalut Hbox does not implement IFoucsManager interface, try to implemente IFcoumnagerComponent into HBox.

Hope this will helps you.


--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.


Sidhu Vijay Sidhu

unread,
Oct 3, 2010, 10:16:25 AM10/3/10
to flex_...@googlegroups.com
if you r using ur editor in data grid.... then make component based on TextInput rather than hbox.. and datagrid focusEnabled, tabEnabled, tabIndex set these to true and in TextInput Component set TabChildren is to true then try if you can send your code here.... then your problem will be  more clearer to me.. there are some properties too for setting focus at particular place...  here is one attached folder just import the project and check it out if it works for you or not

stage.focus=TextId;

checkout the following links
DGUPDATAION.rar
Reply all
Reply to author
Forward
0 new messages