----boundary-LibPST-iamunique-114976381_-_-
Content-type: text/plain
Aubrey,
Aubrey.McIntosh{([at]})nowhere.xy
I have been moving a V4 application to BB. I wanted a tinted
background on a certain window as a hint of where to look while
working.
>From what I can tell, I can't extend TextViews.View.
You should be able to extend it but then you also need to implement the Restore function of the view.
I have to make a
"wrapper" that implements this. I did have a short experiment where
I bracketed the Viewer opening. (*This is the now depreciated
ForestGreen from .css stylesheets.*)
color := Ports.background;
(*To have a colored background, I need to make a wrapper view. See
Docu/Tut-6 or ObxWrappers.*)
(* Ports.background := Ports.RGBColor(2BH, 8BH, 22H); *)
tv := TextViews.dir.New(tm);
(* root := Views.RootOf (tv); *)
Views.OpenAux(tv, name$);
Ports.background := color
If you set Ports.background then *every* newly created view will have this color. I don't think you want that.
Has anyone produced a color wrapper they want to publish?
ObxWrappers beeps at me.
Take a look at CPC's GftWrappers. It is not a color wrapper but...
I haven't gone back to 1.5 or 1.4 to see if
it works there. I remember that it worked in whatever version was
live in 2000.
-Doug Danforth
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
----boundary-LibPST-iamunique-114976381_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm
c3dpc3NcZmNoYXJzZXQwIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYy
XGZuaWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIg
TmV3O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1
O1xyZWQ1MVxncmVlbjUxXGJsdWUyNTU7fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBc
ZnM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