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

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

Recommended Posts

Posted

Buttons cannot be resized by script.

What are you trying to do?

Posted

No it is not possible to resize the button on a layout. It is possible by using WebViewer tool, using html & js.

  • 2 weeks later...
Posted

Button is showing the status of the inventory. According to stage, the buttons will resize itself.

Suppose it is having two stage, 'Incomplete and Complete'. Then we will have two buttons named Complete and Incomplete.

if the user will click in Complete the stage will be changed to Complete, and its size will be changed and

When user click on Incomplete the stage will be changed to Incomplete and its size will be changed.

Posted

Button is showing the status of the inventory. According to stage, the buttons will resize itself.

Suppose it is having two stage, 'Incomplete and Complete'. Then we will have two buttons named Complete and Incomplete.

if the user will click in Complete the stage will be changed to Complete, and its size will be changed and

When user click on Incomplete the stage will be changed to Incomplete and its size will be changed.

Is this a question or an answer?

Posted

Have the script change to a second layout that is identical to the first except that it has a larger button.

Posted

This is the situation. not an answer. Please discuss it briefly, whether it is possible or not. Please let me know.

Posted

It's not possible to resize a button. It is possible to show another button, either on another layout or in a different tab panel. It is also possible to resize/change the text of the button, using conditional formatting.

It's not possible to use a HTML button to modify a Filemaker field or variable - at least not without a plugin.

Posted

Create graphics of the different sized buttons you want and place them in a global repeating container field. On your layout create a different container field. In your script, Set Field(DisplayContainerField; getRepetition(RepeatingContainerField;<n>)). <n> should be the repetition number of the graphic to display.

Posted

Reading this thread I'm reminded of this quote from Albert Einstein:

Make everything as simple as possible, but not simpler.

In the past I have occasionally used some pretty wild workarounds to accomplish some "nice to have" feature and almost without exception I have come to regret the needless complexity that I built into the system. My suggestion is that if you are going to use some unintuitive methods to accomplish something, make sure you are accomplishing something that is truly necessary. Get some bang for your buck. And for goodness sake, document what you did liberally so that two years later you can figure out what's going on without spending a day just trying to understand what you did.

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