Adding More Action Buttons Than Fit On The Display

For FORM action buttons, you can give the user access to all ten buttons by adding a "scroll" action button. Divide the ten buttons into two groups of five, and for the buttons in the first set, set the Hide-When formula to ABar != "Set1". For the buttons in the second set, set the Hide-When formula to ABar != "Set2". Add a computed field to the form called ABar, and give it a value of "Set1" (this sets the default). Add another action...

button (this is your scroll button), leave it nameless, choose the right-arrow icon for it, and give it the following formula: NewABar := @If(ABar = "Set1"; "Set2"; "Set1"); @SetField("ABar"; NewABar); @Command([RefreshHideFormulas]); For VIEW action buttons, the Hide-When formulas should be @Environment("ABar") != "Set1" for the first set and @Environment("ABar") != "Set2" for the second set. Give the scroll button the following formula:

This was first published in November 2000
This Content Component encountered an error

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close