Select to view content in your preferred language

Focus cursor in widget text boxes

1924
1
Jump to solution
07-12-2012 09:53 AM
AndrewEdmonds
Deactivated User
How do you focus the cursor in widgets with text boxes?  Specifically, I am thinking of the Locate, Print, Query, and Search (and eSearch, by extension) widgets.  It's an unnecessary extra click when opening these widgets.  I'm not a programmer, but I'm guessing that a solution requires digging into the uncompiled code?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Andrew,

   First let me point out that you should post Flex Viewer/Widget Questions to the Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Yes this would require changing the uncompiled code and setting the focus on the textbox for each of these widgets. The TextInput has a setFocus method.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:

View solution in original post

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Andrew,

   First let me point out that you should post Flex Viewer/Widget Questions to the Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Yes this would require changing the uncompiled code and setting the focus on the textbox for each of these widgets. The TextInput has a setFocus method.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:
0 Kudos