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

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

Recommended Posts

Posted (edited)

I have a script where the last step is Go to Field. The field has a scroll bar and contains more info than can be seen without manually scrolling. Is there a way to have to have the script automatically scroll to the bottom of the field?

Thanks

Edited by Guest
Posted (edited)

No, the scroll prohibits it jumping to the end of the field. If you remove the scroll then it will go to the end of the field and open the extire text.

What you CAN do is have best of both worlds. Use scroll on one copy of the field and allow User entry into this field. Make the fill color solid. Stack behind it, another copy of the field without the scroll bar and turn off entry in browse mode. Place a small button next to your stacked fields with words "Show All". User can then scroll manually or click button which will pop open the entire field and place the cursor at the end (remove Select/Perform).

But then, if you wish to display all, why use the scroll and not simply allow the User to click into the field? Scroll will stop that from happening. :smile2:

If you had vs. 10, you might use script trigger.

Edited by Guest
Posted

Use the Set Selection script step, specify the field (no need to use the Go to Field step any more) and specify the end position to be the last character using the calculation Length( fieldname ).

Posted

Is there a way...

Yes, there is...

Instead of using the step:

Go To Field [ YourTable::YourField ]

use:

Set Selection [ YourTable::YourField ; Start Position: Length ( YourTable::YourField ) + 1 ]

Scroll Window [ To Selection ]

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