Blob Blame History Raw
# $XConsortium: Form9.scr /main/4 1995/07/17 20:20:54 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 form should appear. The form should be about
# 200x200 pixels and have a scrollbar along the right edge
# extending halfway down the form.  It should also have a
# scrollbar along the bottom edge extending to the x location
# of the vertical scrollbar. 
# Resize the client window several times.  You should see the
# vertical scrollbar remain on the right edge of the form and
# maintain its original height.  The horizontal scrollbar should
# remain on the bottom edge of the form, but grow horizontally
# so that its right edge always extends to the x location of the
# vertical scrollbar. 
# Press the osfHelp key.
# Iconify and Normalize the client.  The scrollbars should reappear
# when the client is normalized. 



CompareVisual form
WindowResize Shell1 SouthEast 400 300
CompareVisual form
WindowResize Shell1 South 400
CompareVisual form
WindowResize Shell1 East 400
CompareVisual form
WindowFocus form
ClickKey KHelp
WindowIconify Shell1
WindowDeiconify Shell1
CompareVisual form
Continue


# A client with a form should appear. The form should
# contain a scrollbar. 
# Resize the client window. You should see the scrollbar
# grow to the size of the window minus some horizontal and
# vertical spacing.
# Iconify and Normalize the client window. You should see
# the scollbar. 


CompareVisual form
WindowResize Shell1 SouthEast 400 300
CompareVisual form
WindowResize Shell1 South 400
CompareVisual form
WindowResize Shell1 East 400
CompareVisual form
WindowIconify Shell1
WindowDeiconify Shell1
CompareVisual form

Exit