----boundary-LibPST-iamunique-383936717_-_-
Content-type: text/plain
Chris,
Ah, no. I see that I had already declared a dummy HndleCtrlMsg in
MyViewA which is wrong (I had copied some code as a template). Removing
it from A allows my to implement it in B.
However, I now realize that what I really probably want is a wrapper
view for A.
Thanks,
Doug
CFB Software wrote:
>> -----Original Message-----
>> From: blackbox{([at]})nowhere.xy
>> Behalf Of Douglas G. Danforth
>> Sent: Tuesday, 19 September 2006 1:25 PM
>> To: BlackBox Mailing List
>> Subject: [BlackBox] - Getting key strokes
>>
>>
>> but no, the compiler complains with "base procedure is not
>> extensible".
>> But both A and B views
>> are marked extensible for the ABSTRACT Views.View.
>>
>> How can I implement HandleCtrlMsg for MyViewB so I can
>> capture key strokes into views of this type?
>>
>
> I think you need to declare the base procedure Restore in MyViewA extensible
> as well e.g.
>
> PROCEDURE (v: MyViewA) Restore* (f: Views.Frame; l, t, r, b: INTEGER),
> EXTENSIBLE;
>
> Chris Burrows
> CFB Software
> http://www.cfbsoftware.com/gpcp
>
> --- BlackBox
> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>
>
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-383936717_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmcz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