trichview.support
Re: Form image as background? |
Author |
Message |
shmp |
Posted: 07/11/2005 22:36:47 > Does anyone know if (and how) I can specify a image as a background to the > document in RichVirew, and then have users type over it? It would be great > to do this for government forms. > > Thanks! > For your requirement, you may use a table. A table with multiple cells can have an image background. Even a single cell may have an image background as well. For whole table the codes may look like this var img : TImage; if OpenPictureDialog1.Execute then begin img := TImage.Create(Self); img.Picture.LoadFromFile(OpenPictureDialog1.Filename); table.BackgroundStyle := rvbsCentered; table.BackgroundImage := img.Picture.Graphic; img.Free; end; Note : TImage was used for a various types of graphic. You may use other types. Regards. Henry |
Powered by ABC Amber Outlook Express Converter