Re: [NTLK] A couple of programming questions

From: Laurent Daudelin (laurent_daudelin_at_fanniemae.com)
Date: Thu Jun 20 2002 - 17:28:33 EDT


On 20/06/02 17:19, "Jim Anderson" <jiman_at_microsoft.com> wrote:

> I've got a couple of NewtonScript programming questions. I'm
> trying to create some stationary for Notes that is note-like -- that is,
> it sizes itself according to the amount of text in it. I can't figure
> this out. All the examples I've seen have been fixed size stationary.
> Also, it's not possible to write code that overrides slots on existing
> views that you don't own, is it? I'd like to be able to add custom
> gesture handlers to the existing Notes stationary.

The API to create a note, IIRC, lets you specify what size the note will
have. I don't really know how you can set it from the note itself or from
its stationary. Did you check the Q&A in the doc?

-Laurent.

-- 
===========================================================================
Laurent Daudelin                    Developer, Multifamily, ESO, Fannie Mae
mailto:Laurent_Daudelin_at_fanniemae.com                   Washington, DC, USA
************************* Usual disclaimers apply *************************
bug-compatible adj.: [common] Said of a design or revision that has been
badly compromised by a requirement to be compatible with fossils or
misfeatures in other programs or (esp.) previous releases of itself. "MS-DOS
2.0 used \ as apath separator to be bug-compatible with some cretin's choice
of / as an option character in 1.0." 

-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net



This archive was generated by hypermail 2.1.2 : Wed Jul 03 2002 - 14:02:40 EDT