Re: [BLACKBOX] Close message?

From: [at]} <Aubrey.McIntosh{>
Date: Thu, 13 Mar 2008 14:17:33 -0500

----boundary-LibPST-iamunique-1211733416_-_-
Content-type: text/plain

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. 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

Has anyone produced a color wrapper they want to publish?
ObxWrappers beeps at me. 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.


On Thu, Mar 13, 2008 at 1:51 PM, Douglas G. Danforth
<Danforth{([at]})nowhere.xy
> Aubrey.McIntosh{([at]})nowhere.xy
> > While there,
> >
> > Would you take a moment to add and report:
> >
> > PROCEDURE (v: View) GetBackground (VAR color: Ports.Color);
> > BEGIN
> > color := Ports.RGBColor(2BH, 8BH, 22H);
> > END GetBackground;
> >
> >

> Aubrey,
> Yes, I am also doing that for arbitrary colors which can be selected via
> color sliders
> (red, green, blue).
>
> I assume you just wanted to let the rest of the community know that this
> could be done in this
> way? I also found it confusing to have the name "GetBackground" where I
> would have
> expected it to be "SetBackground" but then it depends upon *who* is
> doing the getting
> and setting. In this case the "GetBackground" procedure is called
> internally by BlackBox
> and so they are getting from us the colors we want for the background.
>
> -Doug
>
>
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
>



-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1211733416_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEkgaGF2ZSBiZWVuIG1vdmluZyBhIFY0IGFwcGxp
Y2F0aW9uIHRvIEJCLiAgSSB3YW50ZWQgYSB0aW50ZWRccGFyDQpiYWNrZ3JvdW5kIG9uIGEgY2Vy
dGFpbiB3aW5kb3cgYXMgYSBoaW50IG9mIHdoZXJlIHRvIGxvb2sgd2hpbGVccGFyDQp3b3JraW5n
LlxwYXINClxwYXINCkZyb20gd2hhdCBJIGNhbiB0ZWxsLCBJIGNhbid0IGV4dGVuZCBUZXh0Vmll
d3MuVmlldy4gIEkgaGF2ZSB0byBtYWtlIGFccGFyDQoid3JhcHBlciIgdGhhdCBpbXBsZW1lbnRz
IHRoaXMuICBJIGRpZCBoYXZlIGEgc2hvcnQgZXhwZXJpbWVudCB3aGVyZVxwYXINCkkgYnJhY2tl
dGVkIHRoZSBWaWV3ZXIgb3BlbmluZy4gICgqVGhpcyBpcyB0aGUgbm93IGRlcHJlY2lhdGVkXHBh
cg0KRm9yZXN0R3JlZW4gZnJvbSAuY3NzIHN0eWxlc2hlZXRzLiopXHBhcg0KXHBhcg0KXHRhYiBc
dGFiIFx0YWIgY29sb3IgO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1xwYXINCj4gIGFuZCBzZXR0aW5nLiAgSW4gdGhpcyBjYXNlIHRoZSAiR2V0QmFja2dy
b3VuZCIgcHJvY2VkdXJlIGlzIGNhbGxlZFxwYXINCj4gIGludGVybmFsbHkgYnkgQmxhY2tCb3hc
cGFyDQo+ICBhbmQgc28gdGhleSBhcmUgZ2V0dGluZyBmcm9tIHVzIHRoZSBjb2xvcnMgd2Ugd2Fu
dCBmb3IgdGhlIGJhY2tncm91bmQuXHBhcg0KPlxwYXINCj4gIC1Eb3VnXHBhcg0KPlxwYXINCj5c
cGFyDQo+XHBhcg0KPlxwYXINCj4gIC0tLS1ccGFyDQo+ICBUbyB1bnN1YnNjcmliZSwgc2VuZCBh
IG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5P
QkVST04uQ0hccGFyDQo+XHBhcg0KXHBhcg0KXHBhcg0KXHBhcg0KLS0gXHBhcg0KLS0gXHBhcg0K
QXVicmV5IE1jSW50b3NoLCBQaC5ELlxwYXINCjE1MDIgRGV2b24gQ2lyY2xlXHBhcg0KQXVzdGlu
IFRYIDc4NzIzLTE4MTRccGFyDQpodHRwOi8vaG9tZS5ncmFuZGVjb20ubmV0L35hbWNpbnRvc2gv
YXVicmV5L1NlYXJjaC9ccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUs
IHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZA
TElTVFMuT0JFUk9OLn19AGVxdWVzdA==
----boundary-LibPST-iamunique-1211733416_-_---
Received on Thu Mar 13 2008 - 20:17:33 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:58 UTC