TableView requestFocus of field

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

TableView requestFocus of field

Postby Janssenjos » Tue Jan 11, 2011 10:57 am

hi,

I have the following question:

On a tableview (or listview) I add a new record. How can i set the focus to the first textbox of that newly record?
I tried calling requestFocus on the name of that element, but that doesn't work.

Any other solution?

Thanks.
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: TableView requestFocus of field

Postby Janssenjos » Tue Jan 11, 2011 12:39 pm

To be more precisely:

I have a formDialog open, in which I'm adding the newRecord to the underlying form.
When the formDialog is closed, the focus should be set to the first textbox of the added record.
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: TableView requestFocus of field

Postby Janssenjos » Thu Jan 13, 2011 2:40 pm

There is no-one who has had same problem in web-client?

Hanging a bit on this issue!
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom


Return to Web Development

Who is online

Users browsing this forum: No registered users and 4 guests