Your easiest way to display a bitmap is to use a TImage component with
autosize := false
stretch := true
and use TImage.Canvas.StretchDraw, but I have had problems with gtk and
gtk2 in that if you zoom in to the bitmap you do not get a pixilated
image but something blurred and fuzzy. Win 32 works c
I had a similar problem porting a Delphi 7 app to Lazarus. I solved it
by using LazIntfImage as below:
var I,J,
Xres,YRes: integer;
Val: longint;
SrcIntfImage:TLazIntfImage;
Curcolor :TFPColor;
Data: array of real;
begin
with OpenDialog do
begin
DefaultExt :
_
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
--
Alan Chamberlain <[EMAIL PROTECTED]>
___
On Wed, 2005-11-02 at 11:46, John Samperi wrote:
> Well I'm up to the next stage now, trying to convert my
> pride and joy to Lazarus.
>
Er... yes there is no TRichEdit. You can use TSynEdit or TMemo.
> Apart from Cport not being there yet it is complaining about
> Rich Edit. Did a quick search
_____
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
--
Alan Chamberlain <[EMAIL PROTECTED]>
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives