[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Problem with zoomDocProc



At 1:22 pm +0100 17.11.97, Michael Ziege wrote:
>Philippe de Rochambeau writes:
>>When I use 'zoomDocProc' ... I get the following error message:
>Nevertheless the programm still crashes with the error message:
>
># Undefined subroutine &main::8 called.
>File 'Macintosh HD:_prg:MacPerl:MacPerl Ä:lib:Mac:Windows.pm'; Line 395
>
>which doesn't say much to me; but it works fine with other window
>procedures (e.g. zoomNoGrow)

For what it's worth, the ID of 'zoomDocProc' is 8, so presumably that
&main::8 isn't purely arbitrary. Interestingly, 'zoomDocProc' seems to be
the default proc (if you read the definition of NewWindow in
'lib:Mac:Windows.xs'). I'd be curious to know what happens if you pass a
null value for the proc type when creating your window.

			A

--
angus@pobox.com                                   http://pobox.com/~angus/

 "The Paris slums are a gathering place for             George Orwell
  eccentric people - people who have fallen           "Down and out in
  into solitary half-mad grooves of life, and          Paris and London"
  given up trying to be normal or decent."



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch