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

Displaying an indicator when there are more rows in the portal than visible


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

Recommended Posts

  • Newbies
Posted

I'd like to have an indicator at the top and bottom of a portal to show that there are rows above or below that are not currently visible. Presumably I'd need to know how many rows are in the portal, and what row is at the top and what row is at the bottom of the currently visible rows (or what row is at the top and how many rows are visible). I haven't been able to figure out a way to do this.

 

Ideally I want an button above the portal and one below, which can be disabled when the list is at the top or bottom respectively, and which will move the portal up or down a single row when they are clicked.

 

Is there a way to do this?

Posted

Why don't you use the feature provided for this purpose: add a scroll bar to the portal.

If for some reason you can't do that, then the next question will be: does the portal have a fixed number of rows? Or is it set to autosize?

 

  • Newbies
Posted (edited)

It's a visual/UI thing. The scroll bar takes up space where I need it and doesn't put the attention where I'd like it to be. It's also easier to use buttons than a scroll bar on an iPhone/iPad.

 

The portals have fixed sizes. (Is it possible to have a portal change the number of rows on the fly? I know I can change the dimensions the portal container, and I can hide empty rows when printing, but I didn't think I could have it change the number of rows on screen)

Edited by adampwsmith
Posted

Here's an old demo file I posted somewhere I cannot remember. It is quite close to what you describe - esp. if you add conditional formatting to the buttons.

ScrollPortal11.fmp12

 

8 minutes ago, adampwsmith said:

(Is it possible to have a portal change the number of rows on the fly?

It you set the portal to autosize, then the number of rows will increase when you expand the window.

 

  • Newbies
Posted

"It you set the portal to autosize, then the number of rows will increase when you expand the window."

Huh. Good to know - thanks. I rarely get the chance to use dynamic UI layouts.

This topic is 731 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.