1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
/* $XConsortium: ScrollList3a.dat /main/4 1995/07/17 10:15:06 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 client with a Scrolled List contained in a Form should appear.
The List should contain a vertical scrollbar to the left of the List
with 5 visible items (One - Five). The List should be attached to the
Form on the right and left, and have an Offset of 50 on the right and left.
The font will be courier if your system supports it, if not the
test suite default font.
Each item in the list should be aligned to the right of the List.
#) Click MB1 in the scrollbar below the slider. Item <Five> should
now the be first item in the List, and Items Five - Nine should
be visible.
C)
#) Select the first visible Item (Five). The last Item (Ten) should be
deleted from the List. There should be no visible change to the List,
but the scrollbar should fill downwards.
#) Select the first Item from the List again (Item5). The last item
should be deleted from the List and the List should scroll up one item.
#) Continue this process until no items are left in the List.
#) When item <Six> is deleted, the vertical scrollbar will disappear.
#) When the last item is deleted from the list a message will be
printed in the term window.
C)
#) All ten items will be replaced, and items Six through Ten should be visible.
C)
#) The List should shrink to a height of 0. No items should be visible.
C)
#) The List should grow to a height of 500. All items should be visible.
C)
#) The List should now be empty, there also should be two PushButtons
below the List.
#) Press \"Push To Add one Item\" 5 times until the vertical scrollbar
grows.
#) Now move the vertical scrollbar all the way down.
#) Now press \"Push to Delete and Add\". The List should contain 1 item
\"Yet Another\".
C)
#) The List should now be empty, there also should be two PushButtons
below the List.
#) Press \"Push To Add one Item\" 5 times until the vertical scrollbar
grows.
#) Now move the vertical scrollbar all the way down.
#) Now press \"Push to Delete and Add\". The List should contain 1 item
\"Yet Another\".
C)
#) The List should now be empty, there also should be two PushButtons
below the List.
#) Press \"Push To Add one Item\" 5 times until the vertical scrollbar
grows.
#) Now move the vertical scrollbar all the way down.
#) Now press \"Push to Delete and Add\". The List should contain 1 item
\"Yet Another\".
E)
|