Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Bringing a folder tab into focus  (Read 13412 times)
Andy J.
Posts: 3


« 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
Reuben B.
Four Js
Posts: 1119


« Reply #1 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Bernard M.
Four Js
Posts: 45


« Reply #2 on: May 28, 2008, 01:41:24 pm »

Or this maybe?

https://4js.com/fjs_faq/?c=24#23
Andy J.
Posts: 3


« Reply #3 on: May 28, 2008, 03:08:15 pm »

Many thanks, I will give these a try! 
Laurent G.
Four Js
Posts: 115


« Reply #4 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
Reuben B.
Four Js
Posts: 1119


« Reply #5 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Laurent G.
Four Js
Posts: 115


« Reply #6 on: December 07, 2010, 09:27:18 pm »

Thanks for the precision Reuben,

I thought it was what I was pointing to. Cheers !

Laurent
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines