Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!pipex!bnr.co.uk!bcarh8ac.bnr.ca!bcarh189.bnr.ca!nott!cunews!omega.scs.carleton.ca!cs305001
From: cs305001@omega.scs.carleton.ca (Kevin Kalbfleisch)
Subject: Re: Paste a text to a variable, Smalltalk/V
Message-ID: <D42vCJ.AJ0@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: School of Computer Science, Carleton U., Ottawa, Canada
X-Newsreader: TIN [version 1.2 PL2]
References: <3hq9m7$3ta@trane.uninett.no>
Date: Thu, 16 Feb 1995 05:31:30 GMT
Lines: 25

Kurt H. Storseth (kurt@hiMolde.no) wrote:
: We are programming in Digitalk Smalltalk/V for Windows. Does anyone know how
: to copy/paste a textstring from a text-window to a variable? ref. Cut and 
: Paste.... 


: -----

: Kurt Helge Stoerseth
Hi there,
	Your best bet is to have a look in the TextPane class.  
Specifically the methods characterInput: and backspace:.
Both of these methods use the features you are looking for.

Good Luck!
Kevin


--
 ______________________________________________________
*  Kevin Kalbfleisch	kalb@dragon.achilles.net       *
*			cs305001@omega.scs.carleton.ca *
*			ap084@freenet.carleton.ca      *
*			kalbfle@chat.carleton.ca       *
*______________________________________________________*
