FillInTheBlank
Ned Konz
ned at bike-nomad.com
Wed Jul 23 20:39:12 UTC 2003
On Wednesday 23 July 2003 01:15 pm, Jimmie Houchin wrote:
> I am using a FillInTheBlank #request:initialAnswer:centerAt: to
> edit and combine a couple of Dictionaries.
>
> The Dictionary values are combined into the #initialAnswer:.
> The value is larger than the provided box, but small enough that if
> the box was larger it could be accomodated.
>
> Is there a way I can enlarge the box programmatically to either
> fill up my screen or to show all its contents?
You can tell it how big to be:
(FillInTheBlankMorph new setQuery: 'what' initialAnswer: 'some
very
long
text
here' answerExtent: 300 at 300 acceptOnCR: false) openInWorld;
getUserResponse
> I've used the FillInTheBlank before to iterate thru a collection to
> edit contents. In absence of better solutions it is pretty
> convenient.
But there are better solutions:
* You can use an ObjectExplorer or DictionaryInspector variant
* You can use Nathanael's PluggableCollectionMorph, though I don't
think anyone's done a tutorial on how to use it.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|