AnsweredAssumed Answered

Text field and scroll bar

Question asked by LeoB on May 26, 2010
Latest reply on May 26, 2010 by LeoB

Title

Text field and scroll bar

Post

I have a layout that contains definitions of various technical terms and is linked to the help pages.  It's a simple tabbed layout with one tab for each letter of the alphabet and a text field placed in the tab.  The actual definitions within each tab may be much longer than the available screen space so I have the scroll bar set.  And, I do not want the user to be able to modify the definitions, just view them.

 

If I set the field so it cannot be entered in browse mode, which protects the text from modification, the scroll bar is not visible.

 

So, I set a small script trigger OnObjectModify that reverts the record.  That does prevent changes while maintaining the scroll bar, but has some problems.

 

  1. The scroll bar is not visible when the user enters the tab.  The user must click on a blank space for the scroll bar to appear.
  2. Once the script runs, the scroll bar disappears and the user has to click outside of the text to cause the scroll bar to reappear, and
  3. If the user clicks twice on the text, a FMP flashscreen pops up that says "Before typing, press Tab or click in a field, or choose the New Record menu command."

I tried adding the Set Error Capture [On] in the script, but it does nothing.

 

Anybody have any ideas?

 

Thanks.

Outcomes