- Tabbed document user interface example

From: CFB Software <"CFB>
Date: Thu, 21 Sep 2006 22:42:04 +0930

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

Robert,

OK, thanks - got it now. Your's and Doug's replies motivated me into
getting something started. The enclosed code does two things (see the
two commanders at the end of the source):

1. Allows you to open a file in a tab in a new window.

2. Allows you to open additional files in subsequent tabs in the same
window.

The tabbed windows automatically resize and scroll.

If you make the enclosing document go full screen to fill the BlackBox
window the tabs then appear as a row underneath the menu. A picture is
worth a thousand words:

http://www.cfbsoftware.com/images/TabBlackBox.jpg

However, it is useful to have the log window open separately as well.

Once you have selected one of the tabs, you can then use the normal
BlackBox functions that operate on the current window e.g. do a compile.

If anybody thinks the idea is worth further effort, what needs to be
done is:

* The initial window that is opened needs to have a larger default size.

* Additional commands are required to close the individual tabs and save
/ print the contents of the files associated with the individual tabs
etc.

Cheers,
Chris

StdCoder.Decode ..,,
..nY....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 
hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZR
iX
 
7.2.s,6iF.,k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP
7O
 
NbXmb.2.oU6k2EzT.0E.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D.Fx,6
.,
 
sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.ZR,w,Ip3E.0E.EQ4.86.QC18RdfQHfMf9R
9v
 
Q7ONb17.,.D,,6.I16.M.6.JFyuv.U.2m,.lS.AU0KyB.,UK,,UO.,.1U.c8.2UwK.s.EBl.
O.
 
0EBk.S.Q5AU9U.YV,.,UHBm0s4Rd.8ssHomOrVyqqqqkuKmKKtCLLCJuo8.,Mw7ONh1.uGf.
2U
 
mT.6.220E.E10.0UJURV.2.Q8.8T5U...B.0UJUPUzjdDZc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ZB,d8HN136637IZPOh1h0Y6.,tId9N5OP7
vQ
 
RtHVPN8m4qEIsHVPN0mtKLlCrm4ruKKrGLEGrkIA.b96HfP,7RsQ1PP996jPOR1emIq..o8k
b0
 
5RW4VWIklbeZlVyKrGLtyKqmqm8rtQ8CIu8LqGomCrl0ksH3..RtEYCU2hgnRg.sEMM.Et..
.k
 
tu0.Y62Umb.2.Y02.A,,E.0..4E,5TeK4ZORNPNZvQRtIIepZBG20ksH3.bf9ZORNPNG20Et
D.
 
0E.ses,sc6.,k,,UnpZHldGrwmqmGomCb.AS.c9Ajg,0EtT.,E..W.e32.86.c918R.9HWQC
,E
 
0E...7,,M.,.,.,tcp00kXat.wnjl.k.E.0.3gwP.0..I16.M.EJ2wAC.6.VQ.E..YVsH4EK
it
 hQVs9E3Qw7uPgBQC5uP..I06..E2E.U76.2kLRCNN65J.nT32kwL,,sKFHKHGA,F0....
 --- end of encoding ---

> -----Original Message-----
> From: blackbox{([at]})nowhere.xy
> Behalf Of Campbell, Robert D (SELEX) (UK Edinburgh)
> Sent: Thursday, 21 September 2006 6:54 PM
> To: BlackBox Mailing List
> Subject: [BlackBox] - Single or Multiple, Overlapping or
> Tabbed, documentuserinterfaces
>
>
>
> Chris
>
> Coded version (I thought that Pac was virtually a
> de facto standard by now).
>
>
> Cheers
>
> PS - Does Outlook 2003 have a Menu item to insert (not attach)
> text files; I have to cut & paste from something else - in this
> case TextPad?
>

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-913487821_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0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UgLSBpbiB0aGlzXHBhcg0KPiBjYXNlIFRl
eHRQYWQ/XHBhcg0KPiBccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJq
ZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0K
fQ==


----boundary-LibPST-iamunique-913487821_-_---
Received on Thu Sep 21 2006 - 15:12:04 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:32:16 UTC