Subject: Here is the code
So, here is the code where workspace.DialogBox is being called.
Function EditRow(doc As NotesDocument, editForm As Variant, title As Variant) As Variant
Dim workspace As New NotesUIWorkspace
Dim tempdoc As NotesDocument
Dim rowNumber As Integer
Dim editTableFields(1 To 19) As String
editTableFields(1) = “PLP_=T”
...
editTableFields(19) = “PNRDOK_=N”
rowNumber = doc.ROW(0)
Set tempdoc = CreateTempDoc(doc, rowNumber)
Forall field In editTableFields
fieldName = Strleft(field, "=") & rowNumber
If Not tempdoc.HasItem(fieldName) Then Set item = tempdoc.ReplaceItemValue(fieldName, doc.GetItemValue(fieldName))
End Forall
accepted = workspace.DialogBox (editForm, True, True, False, True, False, False, title, tempdoc)
EditRow = accepted
End Function
All required fields exist on form and are opened properly in the dialog box.
Variables ‘editForm’, ‘title’ and ‘tempdoc’ are also passed correctly to the dialog.
the only problem is, that the form used to display the dialog box (which name is passed by by ‘editForm’ variable) has quite a wide layout region (23,495cm).
I’ve noticed, that if I shrink the layout to 21,694cm, dialog box is displayed without scrollbars.
But then my design elements no longer fit the layout…
Anything larger than that (e.g. 21,696cm) causes the scrollbars to appear.
This behavior exists olny in Lotus Notes 6.0, in LN 5.0 wide layouts were fully visible regardless of their size.
Did IBM changed something in LN 60 which makes it incompatible with LN50 (yet again
) or is there an option to restore previous behavior?
Thanks for help
Tomek