[DUG] Website presentation

PDS - John John at padasy.co.nz
Sun Apr 5 21:14:46 NZST 2009


What I would like is relatively simple; allow the user to make changes to
the text (per page) and the associated photos.

 

John C

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Paul A Norman
Sent: Sunday, 5 April 2009 6:13 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Website presentation

 

John re-reading your question - are you wanting to create pages representing
your application ...? or What?

 

Paul

2009/4/5 Paul A Norman <paul.a.norman at gmail.com>

Hi John,

 

TembeddedWB a build up from Twebbbrowser

Can help you there in a simple fashion.

 

"Product" overview (free)

 

http://www.bsalsa.com/product.html

 

Have a look at these two functions covered on
http://www.bsalsa.com/ewb_methods1.html

GetBmpFromBrowser(FileName : String): Boolean: Call GetBmpFromBrowser to
create a screen capture of your page. Remember to enter a valid name or path
with name for the file.
Result will be true if the process will end succesfuly.
 procedure TfrmMain.getAScreanCapture1Click(Sender: TObject);
 begin
 if EmbeddedWB1.GetBmpFromBrowser('site.bmp')then
    begin
       UpdateImage;
      Image1.Picture.LoadFromFile('.site.bmp');
      ShowMessage('The screen capture is in your application
folder.');
    end;
end

GetJPEGfromBrowser(FileName: string; SourceHeight, SourceWidth,
TargetHeight, TargetWidth: integer): Boolean;
This function is a different method to get a screen capture.
This method is more flexible and you can set also the height and width.
 procedure TfrmMain.GetJpegPageCapture1Click(Sender: TObject);
begin
 if EmbeddedWB1.GetJpegFromBrowser('.\Site.jpg', Height, Width, Height,
Width) then
   begin
      Image1.Picture.LoadFromFile('.\Site.jpg');
     ShowMessage('The page screen capture is in your application folder.')
    end;
end;

You can also use print (to pdf) if you have a pdf print driver installed
(cutePdf etc ..) then open the resulting pdf in something like CorelDraw and
work on it if the Jpeg or Bmp approach above does not produce a helpful
result.

Paul

2009/4/2 PDS - John <John at padasy.co.nz>

Hi all

 

How can I create graphics frames for my website? is the a tool or perhaps a
website where I can create any?

 

John C

 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090405/d0bdac7d/attachment-0001.html 


More information about the Delphi mailing list