Subject RE: [IBO] Jason, TIB_Currency.CreateParams please apply patch (IBO 4.6.a)
Author Jason Wharton
I would like to do a fix that is 100% for all versions of Windows.
Is it possible that some additional effort could be put into this issue by
those having other older versions of Windows to check this on?
I only have XP these days.

I'm going to go ahead and implement the suggested fix here, but I would much
rather do it in a way that doesn't break right alignment for pre-win98
systems.

Jason


> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Marco Menardi
> Sent: Saturday, March 18, 2006 6:34 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Jason, TIB_Currency.CreateParams please apply
> patch (IBO
> 4.6.a)
>
>
> Hi, I've just today downloaded IBO 4.6.a, and I've seen that the
> TIB_Currency.CreateParams has not a patch discussed in this list long
> time ago (don't remember if I sent it to you privately or was the one
> that found the problem that did, or none.. sigh, sorry ;)).
> The flag ES_MULTILINE creates problems in IB_Currency, except if you
> are using a very old Windows, previous Win98.
> So please change in IB_Controls.pas the procedure like this:
> procedure TIB_Currency.CreateParams(var Params: TCreateParams);
> begin
> inherited CreateParams( Params );
> // ES_MULTILINE necessary for right alignment (was true only until
> Windows 98)
> if not (csDesigning in ComponentState) then
> Params.Style := Params.Style or ES_RIGHT; // or ES_MULTILINE;
> end;
>
> For reference in this newsgroup with web interface access see:
> http://groups.yahoo.com/group/IBObjects/message/36436
>
> Thanks a lot :)
> Marco Menardi