Jump to content

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

Recommended Posts

Posted

I know that you can double all the segments, and then hide them accordingly to the wished. But the issue I have with it, is that you might hide the "active" by doing so. Exists a scriptstep that actively changes the state of the now appearing segment?

I guess on the other hand - that the CSS behind the button bar, can be hacked to perform this little feature. Only I'm not aware of how to do so?

I attach the template I trying this teqnique on, and the idea was that the icon changed when double-clicking on the desired segment

 

buttonbar sort.fmp12Fetching info...

Posted
  On 4/8/2024 at 4:09 PM, Søren Dyhr said:

Exists a scriptstep that actively changes the state of the now appearing segment?

Expand  

Not a single script step, but it is possible. Take apart the attached example.

 

  On 4/8/2024 at 4:09 PM, Søren Dyhr said:

the CSS behind the button bar, can be hacked

Expand  

You can "flip" SVG using the translate() function - but I am not sure it is possible to expose this to external manipulation from FM.

 

 

ActivateSegment.fmp12Fetching info...

Posted
  On 4/8/2024 at 6:32 PM, comment said:

ot a single script step, but it is possible. Take apart the attached example.

Expand  

Thanks for reminding me, I've forgotten the <segment> could be a $$variable ... I have used it before!

--sd

Posted (edited)

The initiation of this thread is to be found in this Youtube video - Where I think he is ignoring more filemaker-native ways to deal with the problem at hand:

I have then created a template, showing how I would approach such a matter, without filtering or sorting from the portal setup dialog which I have found a little burdening to pull off in a networked solution, giving coffe-cups or beach balls as user experience.

In this "journey" have I found use of icons from https://filemakericons.com ... in order to make them change colour!

It's the plan that the now shown approach, should be ushered in covering the default portal as card window to provide the sorting of the found set ... but now not a relation away. 

buttonbar sort.fmp12Fetching info...

(this is a new version)

Edited by Søren Dyhr

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