Re: [BLACKBOX] Edit Field Scrolling Problem

From: [at]} <CFB>
Date: Fri, 25 Jan 2008 22:59:47 +1030

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

> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Josef Templ
> Sent: Friday, 25 January 2008 10:24 PM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: Re: [BLACKBOX] Edit Field Scrolling Problem
>
> THANX!! Removing '2' from the style solves the problem.
> OMS please correct this in BB1.6. It gives no sense and must be
> an oversight to include '2'.
>
> > ES_RIGHT* = {1};

>

To be fair to OMS it might not have been an oversight when the code was
originally written. This Microsoft article (dated 1992) provides a possible
explanation:

http://msdn2.microsoft.com/en-us/library/ms997530.aspx

"ES_LEFT, ES_RIGHT, and ES_CENTER specify the alignment the text in an edit
control should have. Single-line edit controls can only be left-aligned.
ES_LEFT is the default for both single-line and multiple-line edit controls.
Single-line edit controls ignore ES_RIGHT and ES_CENTER. Multiple-line edit
controls can be right-aligned, left-aligned, or centered. Right-aligned and
centered edit boxes cannot have horizontal scroll bars and cannot have the
ES_AUTOHSCROLL style."

I dare not comment ;-)

However, if the modification now works OK on versions of Windows that BB
currently targets then I agree that it would be a useful enhancement.

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1719546282_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9f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NocmlzIEJ1cnJvd3NccGFyDQpDRkIgU29m
dHdhcmVccGFyDQpodHRwOi8vd3d3LmNmYnNvZnR3YXJlLmNvbS9jcFxwYXINClxwYXINClxwYXIN
Ci0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdO
T0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hcfX0AdWVu
----boundary-LibPST-iamunique-1719546282_-_---
Received on Fri Jan 25 2008 - 13:29:47 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:07 UTC