This is a public Forum  publicRSS

Forum post

    Ryan Henke
    My field window expands vertically when field is active, how...Answered
    Forum post posted February 9, 2012 by Ryan Henke, last edited May 23, 2012
    207 Views, 6 Comments
    Title:
    My field window expands vertically when field is active, how to stop this?
    Post:

    My selected field (in grey) expands down when I select it in filemaker go.  This pushes my window up and I am trying to be able to keep it in place for easier text input.  

    I do have a quite large text size (48) but the window doesn't resize itself on selection when I am on a computer, just when using filemaker go on the iphone.  

    Does anybody know how I might keep this extra large size text but avoid the expansion of the field window when active?

    Screenshot:

    Best Answer

    rgordon
    posted February 9, 2012 by rgordon  Permalink

    Add a scroll bar to the field.  The scroll bar will not display in Go but it will keep the field from expanding.

    Answer

     

    • rgordon
      posted February 9, 2012 by rgordon  Permalink

      Add a scroll bar to the field.  The scroll bar will not display in Go but it will keep the field from expanding.

    • Ryan Henke
      posted February 10, 2012 by Ryan Henke  Permalink

      rgordon-  Your answer did exactly what I was trying to do, thank you!

    • steveald
      posted May 21, 2012 by steveald  Permalink

      At least in FM Go 12.0.3, the scroll bar does indeed display in all but the selected field. Is there another way to accomplish the task of suppressing the vertical growth of the selected field?

      Also, seeing scroll bars makes me think multiple rows are not only possible, but allowed. Is there any way to restrict a field from allowing multiple lines of text, ie. disable the return key?

    • TSGal
      posted May 21, 2012 by TSGal  Permalink

      steveald:

      Thank you for your post.

      This is controlled by the iOS Text engine, so until this is changed, the vertical scrollbar is the only option.

      To disable the return key, you would need to use an OnObjectKeystroke script trigger to evaulate for the return key.  However, word-wrap would also cause the field to expand more than one line so you may also need to check the length of field to limit the number of characters.

      Let me know if you need additional clarification.

      TSGal
      FileMaker, Inc.

    • steveald
      posted May 22, 2012 by steveald  Permalink

      Please clarify "check the length of field to limit the number of characters". How do you limit the number of characters a field can hold?

    • TSGal
      posted May 23, 2012 by TSGal  Permalink

      steveald:

      To limit the number of characters, go into Manage Database..., click the Fields tab, select the field you want to limit, and click Options.  In the Options window, click the "Validation" tab, and the last checkbox under the "Require" section is "Maximum number of characters".  Enter a checkmark into the checkbox, and enter the number of characters.

      Let me know if you need additional clarification.

      TSGal
      FileMaker, Inc.