# $XConsortium: Form22.scr /main/4 1995/07/17 20:19:55 drk $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
#
# HISTORY
# A PushButton (PushButton1), ScrolledList, and another PushButton
# (PushButton2) should appear.
# The ScrolledList should contain twenty items which are selectable
# one at a time.
# Ten of the twenty items should be visible.
# The two PushButtons should have their top edges aligned with the top edge
# of the ScrolledList.
CompareVisual Form
LocatePointer ScrolledList RListItem 0
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 2
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 4
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 6
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 8
ClickMB Btn1
CompareVisual ScrolledList
Continue
# A PushButton (PushButton1), ScrolledList, and another PushButton
# (PushButton2) should appear.
# The ScrolledList should contain twenty items which are selectable
# one at a time.
# Ten of the twenty items should be visible.
# The two PushButtons should have their BOTTOM edges aligned with the BOTTOM
# edge of the ScrolledList.
# The PushButtons and the ScrolledList should retain their original sizes.
CompareVisual Form
LocatePointer ScrolledList RVertScrollBarDownSliderArea
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
CompareVisual ScrolledList
Continue
# A PushButton (PushButton1), ScrolledList, and another PushButton
# (PushButton2) should appear.
# The ScrolledList should contain twenty items which are selectable
# one at a time.
# Ten of the twenty items should be visible.
# The two PushButtons should have their top edges aligned with the top edge
# of the ScrolledList.
CompareVisual Form
LocatePointer ScrolledList RListItem 1
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 3
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 5
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 7
ClickMB Btn1
CompareVisual ScrolledList
LocatePointer ScrolledList RListItem 9
ClickMB Btn1
CompareVisual ScrolledList
Continue
# A PushButton (PushButton1), ScrolledList, and another PushButton
# (PushButton2) should appear.
# The ScrolledList should contain twenty items which are selectable
# one at a time.
# Ten of the twenty items should be visible.
# The two PushButtons should have their BOTTOM edges aligned with the BOTTOM
# edge of the ScrolledList.
# The PushButtons and the ScrolledList should retain their original sizes.
CompareVisual Form
LocatePointer ScrolledList RVertScrollBarDownSliderArea
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
ClickMB Btn1
CompareVisual ScrolledList
Exit