Title: Bringing a folder tab into focus Post by: Andy J. on May 28, 2008, 12:56:08 pm Hi,
Is there a command to bring a folder tab into focus? I am using a number of folders in a "DIALOG / END DIALOG" block. I am unable to find anything in the documentation. Many thanks in advance Title: Re: Bringing a folder tab into focus Post by: Reuben B. on May 28, 2008, 01:27:13 pm Hi, Is there a command to bring a folder tab into focus? I am using a number of folders in a "DIALOG / END DIALOG" block. I am unable to find anything in the documentation. Many thanks in advance Does this help? http://code.google.com/p/sourcefourjs/wiki/FolderPageManipulation Title: Re: Bringing a folder tab into focus Post by: Bernard M. on May 28, 2008, 01:41:24 pm Or this maybe?
https://4js.com/fjs_faq/?c=24#23 Title: Re: Bringing a folder tab into focus Post by: Andy J. on May 28, 2008, 03:08:15 pm Many thanks, I will give these a try!
Title: Re: Bringing a folder tab into focus Post by: Laurent G. on December 06, 2010, 08:55:11 pm Even though it has been a long time, here is another new way in 2.30 to answer that question:
https://4js.com/online_documentation/fjs-fgl-2.30.01-manual-html/User/ClassForm.html#ensureFieldVisible Title: Re: Bringing a folder tab into focus Post by: Reuben B. on December 07, 2010, 09:18:11 pm Laurent,
IMHO the next method down in the documentation ensureElementVisible() is the better method to use for the folder page problem https://4js.com/online_documentation/fjs-fgl-2.30.01-manual-html/User/ClassForm.html#ensureElementVisible In your form, name the page elements e.g. PAGE pageonename (TEXT="Page One") ... and then use the new ensureElementVisible() method passing the name you have assigned to the page e.g. DEFINE f ui.Form CALL f.ensureElementVisible("pageonename") ... that way the code is referring to the folder page you want on top, not an arbitrary field on the page as with ensureFieldVisible. Reuben Title: Re: Bringing a folder tab into focus Post by: Laurent G. on December 07, 2010, 09:27:18 pm Thanks for the precision Reuben,
I thought it was what I was pointing to. Cheers ! Laurent |