Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6694 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

Suppose there is a portal with thumbnail images ...

... is it possible to make it scroll sideways ?

(ps This is like grasping at straws and I kinda know the answer, but just in case someone might have a pleasant surprising answer :) )

Thanks,

-Thomas

Posted

TECHNICALLY... yes,

The way i might look at doing it (for 5 thumbnails) would be to use 6 fields in total (5 calc result container, 1 number)

Assumptions: your thumbs are stored in a related table called "RelatedTable" and the field is called "Thumb".

Calcs:

1) GetNthRecord( Thumb::RelatedTable ; number )

2) GetNthRecord( Thumb::RelatedTable ; number +1)

3) GetNthRecord( Thumb::RelatedTable ; number +2)

4) GetNthRecord( Thumb::RelatedTable ; number +3)

5) GetNthRecord( Thumb::RelatedTable ; number +4)

Then, default number to be 1, and for your left and right "scroll arrows" simply subtract or add 1 respectively to the number field. You will also most likely have to use the Refresh (or Refresh Window) script step in order to refresh your container fields.

Also line up your calc fields left to right, 1-5.

Hope this helped.

~Genx

Posted (edited)

wow !

Thank you all for the great tips !

I see it can only be done as a scripted solution (although it would be nice to see an option "show horizontal scroll bar" in the portal setup).

About the scripts: Yes I am still on FM7 (but it seems I need to upgrade :) )

@comment: Thank you for the sample ... I am looking at it right now.

EDIT: "comment", I like your solution for fm7. Very inventive. Thank You !

Edited by Guest

This topic is 6694 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.