Path: utzoo!attcan!uunet!dino!sharkey!shadooby!mailrus!ames!apple!usc!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: Resetting asciiStringWidgets Message-ID: <8906261605.AA14390@expo.lcs.mit.edu> Date: 26 Jun 89 16:05:00 GMT References: <8906231731.AA04586@air> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 20 > I have > tried the resets offered in the Athena Widget docs, These are not useful for widgets of asciiStringWidgetClass. > and I have tried to > assign each string to a variable name, and then assigning the variable > string to null. If I understand you correctly: Don't re-assign the address of the string. Think of the address of the string as specifying a buffer. To reset the string displayed by the buffer, set the first character in the buffer to the null character. The asciiStringWidget uses the buffer in-place; if you loose the address of the buffer, you loose control over what it contains. Donna Converse converse@expo.lcs.mit.edu