Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
How to determine current folder page
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: How to determine current folder page (Read 7996 times)
Gary C.
Posts: 109
How to determine current folder page
«
on:
February 21, 2010, 04:46:24 pm »
Hi
Is it possible to find out which page (or tab) of a folder is that which is current. I have read the examples where the hidden attribute is used but this literally does make the tab disappear and moving from one tab to another does not affect this value.
Is there a "iscurrent" or similar attribute?
Thanks
Gary
.
Posts: 115
Re: How to determine current folder page
«
Reply #1 on:
February 21, 2010, 08:24:44 pm »
Actually there is no attribute for that. Our folder api is very weak and we've postponed improvement for a long time :(.
There is one way to know which item is on top, not as simple as it should be but at least this works:
- set an action on each page
- in your 4GL code add ON ACTION pageX LET currentPage = "pageX"
Front-ends will trigger the given action when the user clicks on a page.
you can also mix BEFORE field xx where xx is the first field on the page.
Not straightforward, but should mostly do the job.
Gary C.
Posts: 109
Re: How to determine current folder page
«
Reply #2 on:
February 21, 2010, 09:07:10 pm »
Hi
Thanks for the fast response. I had implemented a solution along the lines you outlined but wondered if there was a more "elegant" solution.
No matter - it does work and I am able to achieve exactly what I want.
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...