Setfocus FPL command

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

Setfocus FPL command

#1

Postby jig » Tue Jan 10, 2012 8:36 am

I have a table hyperlink column.

When the user clicks on the hyperlink, the FPL does some processing and shows (unhides) a tab set on the same page (below the table).

I want to setfocus to a one of the filelds in the tabset below which has just been displayed by the FPL. But, when I run the "setfocus" command in the "On Click" event for the table hyperlink, I can see the command being executed, but the focus is not set to the required field.

I know cliking on a table hyperlink, sets the current row, but I want the focus to move to a field below.

Has anyone done this before?

Thanks!

Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#2

Postby Hovik » Thu Jan 12, 2012 5:19 pm

This sounds like a bug Jig, assuming that javascript is enabled.
What version of Ebase are you running?
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#3

Postby jig » Wed Jan 25, 2012 11:59 am

Hi Hovik,

Sorry for the dely in getting back to you. I did not get a reply notofocation for your post! Looks like I need to check my account settings :)

Anyways, the Ebase version I am using is Ebase 4.2.1 Build 20110819.

Do you want me to log a bug via customer portal?

Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#4

Postby Hovik » Mon Jan 30, 2012 11:54 am

Hello Jig,

I am copying our response to the log you raised in the portal here so anyone else who experiences this will know the outcome.

"This is a bug - the setfocus command doesn't work when issued from any sort of table event. We can't see any workaround for this.

We'll fix it in the next service pack (both V4.2 and V4.3)."
0 x


Who is online

Users browsing this forum: No registered users and 112 guests