9.4 Storing Images (or Documents) as External Resources

Not all file types can be saved as Bitmaps. If you want to use an animated GIF or save a document, such as a PDF, for use in your Web Application then an External Resource can be used.

Define_Com Class(#PRIM_IMAG) Name(#LoadImage) Displayposition(1) Left(525) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(325) Height(150) Width(150) Imagesizing(BestFit)

 

Evtroutine Handling(#Com_owner.initialize)

 

#LoadImage.FileName := #xDemoWebLoading

#Com_owner.AddDepartments

 

Endroutine