Solved

scrollbar in Notes form

Posted on 2003-11-12
7
548 Views
Last Modified: 2013-12-18
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.
0
Comment
Question by:phuongnguyen
  • 5
  • 2
7 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 9737792
Use @Command([ViewHorizScrollbar]) to a button.
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 9737817
or
The user can go up to View --> Show --> Horizontal Scroll Bar and click on it
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 9737842
or keep the below code in PostOPen event of Form:
Sub Postopen(Source As Notesuidocument)
If (source.InPreviewPane) Then Exit Sub
strLocation = Source.Document.GetItemValue("Location")(0)

Call uicsdoc.PostOpen()


End Sub


or formula:

@Command([ViewHorizScrollbar])
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 19

Accepted Solution

by:
madheeswar earned 75 total points
ID: 9737853
Script should be:

Sub Postopen(Source As Notesuidocument)
If (source.InPreviewPane) Then Exit Sub

Dim workspace As New NotesUIWorkspace
Source.HorzScrollBar = True
End Sub
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9738027
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
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 9738033
Qwaletee,
Still awake? Won't you sleep?
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9738052
Huh?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now