phuongnguyen
asked on
scrollbar in Notes form
I have created a form in Notes database. When I preview the form, it only has vertical scrollbar, not horizontal one. Please show me how to activate horizontal scrollbar. Thanks.
Use @Command([ViewHorizScrollb ar]) to a button.
or
The user can go up to View --> Show --> Horizontal Scroll Bar and click on it
The user can go up to View --> Show --> Horizontal Scroll Bar and click on it
or keep the below code in PostOPen event of Form:
Sub Postopen(Source As Notesuidocument)
If (source.InPreviewPane) Then Exit Sub
strLocation = Source.Document.GetItemVal ue("Locati on")(0)
Call uicsdoc.PostOpen()
End Sub
or formula:
@Command([ViewHorizScrollb ar])
Sub Postopen(Source As Notesuidocument)
If (source.InPreviewPane) Then Exit Sub
strLocation = Source.Document.GetItemVal
Call uicsdoc.PostOpen()
End Sub
or formula:
@Command([ViewHorizScrollb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Horizontal scroll bar should appear as needed; why do you want to force it on? Madgeeswar's solutions will all help of you must do this; the last one is the only way to automate this, with no user intervention. A simpler version is:
Sub Postopen(Source As Notesuidocument)
If Not (source.InPreviewPane) Then
Dim workspace As New NotesUIWorkspace
Source.HorzScrollBar = True
End If
End Sub
Sub Postopen(Source As Notesuidocument)
If Not (source.InPreviewPane) Then
Dim workspace As New NotesUIWorkspace
Source.HorzScrollBar = True
End If
End Sub
Qwaletee,
Still awake? Won't you sleep?
Still awake? Won't you sleep?
Huh?