[BLACKBOX] Non standard behavior of Fields

From: [at]} <Koen>
Date: Mon, 10 Oct 2011 13:33:53 +0200

Dear BlackBox Community,

For years I have found the behavior of text fields in BB dialogs a bit annoying: it differs from that of the native Windows Edit control. I have packaged my hacks to resolve this in a demo application that can be downloaded here:

StdCoder <https://sites.google.com/site/oberonlanguages/Home/bbpatches2011/Beta2011-10-08.txt> PacCoder <https://sites.google.com/site/oberonlanguages/Home/bbpatches2011/Beta2011-10-08.pac>

The Quick-Start can be found at the end of this message in StdCoder format.

The following modules have been modified (without changing the interface):

Controls, HostCFrames, HostMenus, HostCmds and StdCmds.

Their code files are packed into "DemoBox.exe", which should be run from your BB root folder.

A custom HostPackedFiles is linked into DemoBox. It's "Old" procedure first looks in the packed dir, what makes it possible to demonstrate my changes without altering your system.

You will notice that every Field, UpDownField and ComboBox in your system now has native Windows popup menu and keyboard interface. I did not touch Time & Date Fields (yet).

I hope some of you take the effort to evaluate my changes and provide feedback. If found useful, maybe they can be included in the final 1.6.

Thank you,
Koen

I should emphasize that this demo needs BB1.6-rc6, you find it here <http://www.oberon.ch/zip/SetupBlackBox16-rc6.exe> .

StdCoder.Decode ..,, ..h40...3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,cA1,0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.2kUk2Ew00,6.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D.3762.C
 cIhgsNHT9N9ntQ8qorG4704D.CbB,708T1U.kAy,T.Xs52U.2.4EsO,86.QC18RdfQHfMf9R9v
 Q7ONb17.,.D,0.p.,6.M.,U.I3,S45.0ES9.Y,AU0KyB.,Ub.,UO.,.16.c8WFs5.2UEC.s3c.
 3gwP.0.R,0.p.0..J,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raqk0mKoedhgg3YH3
 iVxvBgV0KyIU.UI6.0.aU.6.,..1cUy.0E.MM <http://1cuy.0e.mm/> ,U5E.a30E.QEXU.6..F.z,,6.IEU...77.2U,
 2.2.2YX0,6.Xxs1kDz41.1.,6.IEP.0..I16.M.EJ0EAA.6.VQ.E..YVsH4EKithQVs9E3Qw7u
 PghZ,5uPRHtyKqmqmUXF96.0..2,2.M00.dPLbHESmF3kwL,,AzJEOyxq2USym..Wb....
 --- end of encoding ---

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Mon Oct 10 2011 - 13:33:53 UTC

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