Resizing a View

From: [at]} <René>
Date: Fri, 25 Apr 2003 17:11:01 -0400
----boundary-LibPST-iamunique-1334186511_-_- Content-type: text/plain MODULE Resize; (* ...got an (undocumented) TRAP 22 when trying to resize textview "v". ... I am not willing to use HandlePropMsg for that!, because I am not extending Views.View *) IMPORT Views, TextViews, TextModels, Ports; VAR v: TextViews.View; PROCEDURE Open*; BEGIN v:= TextViews.dir.New (TextModels.dir.New()); Views.OpenView (v) END Open; PROCEDURE Resize*; BEGIN v.ThisController().Resize (v, 0, 0, 200*Ports.mm, 200*Ports.mm) END Resize; END Resize. (!)Resize.Open (!)Resize.Resize Cheers, René Dorta. Universidad de Carabobo. Valencia. Venezuela. -------------------------------------------- To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to: blackbox-request{([at]})nowhere.xy ----boundary-LibPST-iamunique-1334186511_-_- Content-type: application/rtf Content-transfer-encoding: base64 Content-Disposition: attachment; filename="rtf-body.rtf" e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm c3dpc3NcZmNoYXJzZXQwIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYy XGZuaWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIg TmV3O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1 O30NClx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjQgDQp7XCpcaHRtbHRhZzI0MyA8 IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIEhUTUwgNC4wMSBUcmFuc2l0aW9uYWwv L0VOIj59DQp7XCpcaHRtbHRhZzMgXHBhciB9DQp7XCpcaHRtbHRhZzE5IDxodG1sPn0NCntcKlxo dG1sdGFnMiBccGFyIH0NCntc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c3Vic2NyaWJlZCB0byB0aGUgbWFpbGluZyBsaXN0LiBUaGF0IHdheSwgdGhl IGxpc3Qgc2VydmVyIHdpbGwgcmVjb2duaXplIHlvdSBhcyBzdWJzY3JpYmVyIGFuZCBmb3J3YXJk IHlvdXIgcG9zdGluZyBpbW1lZGlhdGVseSwgd2l0aG91dCBjcmVhdGluZyBhbnkgb3ZlcmhlYWQu DQp7XCpcaHRtbHRhZzQgXHBhciB9XGh0bWxydGYgIFxodG1scnRmMCANCntcKlxodG1sdGFnNCBc cGFyIH1iKSBJZiwgZm9yIHNvbWUgcmVhc29uLCB5b3UgY2Fubm90IHBvc3QgZnJvbSB0aGUgYWRk cmVzcywgYnkgd2hpY2ggeW91IGFyZSBzdWJzY3JpYmVkLCB5b3VyIG1lc3NhZ2Ugd2lsbCBiZSBt b2RlcmF0ZWQgdG8gYXZvaWQgc3BhbS4gUGxlYXNlIHVuZGVyc3RhbmQgdGhhdCBtb2RlcmF0aW9u IHdpbGwgb2Z0ZW4gY2F1c2Ugc29tZSBkZWxheSwgaW4gcGFydGljdWxhciBvdmVyIHdlZWtlbmRz IG9yIGhvbHlkYXlzLg0Ke1wqXGh0bWx0YWc0IFxwYXIgfVxodG1scnRmICBcaHRtbHJ0ZjAge1wq XGh0bWx0YWc3Mn1caHRtbHJ0ZlxwYXJ9XGh0bWxydH19ACjf ----boundary-LibPST-iamunique-1334186511_-_--- Received on Fri Apr 25 2003 - 23:11:01 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:21 UTC