# $XConsortium: Form24.scr /main/4 1995/07/17 20:20:08 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 series of Forms should appear on your screen.
# Each Form should have four PushButton children.
WindowRaise Shell1
CompareVisual Case_0
CompareVisual Case_1
CompareVisual Case_2
CompareVisual Case_3
CompareVisual Case_4
CompareVisual Case_5
Continue
# All of the children should now be unmanaged and invisible.
WindowRaise Shell1
CompareVisual Case_0
CompareVisual Case_1
CompareVisual Case_2
CompareVisual Case_3
CompareVisual Case_4
CompareVisual Case_5
Continue
# All of the children should now be managed and visible.
# The children should have the following sizes:
# D has a width of 125 and a height of 125,
# C has a width of 100 and a height of 100,
# B has a width of 75 and a height of 75, and
# A has its default width and height.
# D should have a top position which is 25% of the height of the Form,
# C should have a top position which is 50% of the height of the Form,
# B should have a top position which is 75% of the height of the Form,
# A should have its original position.
WindowRaise Shell1
WindowRaise Case_0
CompareVisual Case_0
WindowRaise Case_1
CompareVisual Case_1
WindowRaise Case_2
CompareVisual Case_2
WindowRaise Case_3
CompareVisual Case_3
WindowRaise Case_4
CompareVisual Case_4
WindowRaise Case_5
CompareVisual Case_5
Exit