[BLACKBOX] How to 'embed'
----boundary-LibPST-iamunique-994162635_-_-
Content-type: text/plain
Folks,
I am old and tired of poking through documentation and code.
So if you can please help me out it would be greatly appreciated.
If you search the BB documentation for the word 'embed' you find
many hits. But no where does it explicitly state the steps needed
to do an embedding of one view into a model.
What are the least number of steps to embed a view into a model?
==
My paltry efforts center around
Views.InstallFrame(f, view, l, t, level, focus);
That is, given the frame (f) of the view in which one wants to embed
the view 'view' one does the above. BUT BB complains that view
does not have a context nor a domain. Well that is what I was hoping
the InstallFrame procedure would provide to view.
So I can start and assign a context to view taken from the context of
f.view.context BUT I believe that is wrong.
Given a bare extension of Views.View with no additional structure
TYPE View = POINTER TO RECORD(Views.View) END;
as the container view I wish to embed arbitrary other Views.View
as the contained view AND when the container view is restored
(which unto itself does nothing) how do I get all of the contained views
to restore themselves (or does that happen automatically OR do I
need to forward a message)?
Doug
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
----boundary-LibPST-iamunique-994162635_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm
c3dpc3NcZmNoYXJzZXQwIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYy
XGZuaWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIg
TmV3O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1
O30NClx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjQgDQp7XCpcaHRtbHRhZzE5IDxo
dG1sPn0NCntcKlxodG1sdGFnMiBccGFyIH0NCntcKlxodG1sdGFnMjQyICAgfQ0Ke1wqXGh0bWx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xydGYge1xodG1scnRmMCANCntcKlxodG1sdGFnNCBc
cGFyIH0tLS0tDQp7XCpcaHRtbHRhZzQgXHBhciB9XGh0bWxydGYgIFxodG1scnRmMCBUbyB1bnN1
YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBM
SVNUU0VSVkBMSVNUUy5PQkVST04uQ0gNCntcKlxodG1sdGFnNCBccGFyIH1caHRtbHJ0ZiAgXGh0
bWxydGYwIFxodG1scnRmfX0AcGFyDQo+ICAgICAgZi4=
----boundary-LibPST-iamunique-994162635_-_---
Received on Tue Oct 04 2011 - 06:05:14 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:30:11 UTC