Norvin Posted November 2, 2009 Posted November 2, 2009 (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 November 2, 2009 by Guest
LaRetta Posted November 2, 2009 Posted November 2, 2009 (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. If you had vs. 10, you might use script trigger. Edited November 2, 2009 by Guest
Vaughan Posted November 2, 2009 Posted November 2, 2009 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 ).
Raybaudi Posted November 2, 2009 Posted November 2, 2009 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 ]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now