Quirky Native OS field behavior

Why is it that when you size a Native OS field in a table to fit to the table cell width (proprotional)that the vertical scrollbar truncates the words in the field. The word wrapping does not seem to accomodate the appearance of the scrollbar which dynamically appears when you exceed the cell height.

Also why can’t Lotus allow for a fixed width character entry setting. For example when I enter 3 digits for an Area Code in a Native OS field I would like to prevent additional characters from being entered and auto tab to the next field.

Subject: Quirky Native OS field behavior

I might have found a way aroud this problem.It only happens when you open a document. When you edit the field, the problem doesn’t occure.

So in the PostOpen I do this:

Dim strActieVeld As String



If source.EditMode Then

strActieVeld = source.FieldGetText( "LR_Actie" )

source.FieldClear( "LR_Actie" )

source.FieldAppendText "LR_Actie", strActieVeld

End If

Hope it works for you as well

Subject: Quirky Native OS field behavior

Also, is there a way to prevent a newline in an OS field? I don’t want my users hitting enter in the field.

EDIT: Nevermind! I found it :slight_smile:

Subject: RE: Quirky Native OS field behavior

What did you do to not allow users to hit enter?

Subject: RE: Quirky Native OS field behavior

Field properties, second tab, untick “Allow multiple lines”

Subject: Quirky Native OS field behavior

  1. Because it’s a bug. It comes an goes and seems to depend slightly on the font used. It also seems to happen (or maybe is just more noticeable) with smaller fields.

  2. That’s the way Notes works, not a bug. You could file a feature request, but I IBM will probably answer that they don’t want to mix up presentation (make this field 3 characters wide) and data storeage (the field still has no fixed character limit).