Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!hplabs!hplextra!hplb!tgg
From: tgg@hplb.hpl.hp.com ()
Subject: Re: Smalltalk V/Win - GraphPane initial scrollbar position
Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
Message-ID: <D0sr6w.BtB@hplb.hpl.hp.com>
Date: Wed, 14 Dec 1994 10:44:55 GMT
References: <3chshe$cmi@bbs.pnl.gov>
Nntp-Posting-Host: thegnome.hpl.hp.com
Organization: Hewlett-Packard Laboratories, Bristol, England
X-Newsreader: TIN [version 1.2 PL0.7]
Lines: 30

B Kissinger (d3e260@charis.pnl.gov) wrote:
|I'm using Smalltalk V2.0 for Windows.  When I create an instance of a 
|GraphPane, the pane is initialy displayed with the scrollbar buttons 
|halfway "down" the sliders.  

|I can not figure out how to position (via code) the scroll bar buttons 
|to the begining of the sliders.

UserLibrary
	setScrollRange: aGraphPane asParameter 	"probably self asParameter"
	bar: SbHoriz				"or SbVert"
	min: anInteger
	max: anInteger
	redraw: false.

UserLibrary
	setScrollPos: anInteger
	bar: SbHoriz				"or SbVert"
	position: anIntegerBetweenMinAndMax
	redraw: true.	


--
===============================================================================
  Tom Gardner                 Hewlett Packard Laboratories, Filton Rd, 
  tgg@hplb.hpl.hp.com	      Stoke Gifford, Bristol, Avon, BS12 6QZ, ENGLAND.
  Fax: +44 1179 228920        Tel: +44 1179 799910 ext. 28192
            Too many Heritage Centres make you go blind.
===============================================================================

