Re: Background graphics in Forms 4.5

From: Andrew Tompkins <andrewto_at_kingfish.cse.tek.com>
Date: 1996/12/03
Message-ID: <ANDREWTO.96Dec3085110_at_kingfish.cse.tek.com>#1/1


In article <0cCjBGAYwpoyEwns_at_bccomp.demon.co.uk>   BC Computing Limited <BCCOMP_at_bccomp.demon.co.uk> writes:

> Can anyone tell me if this can be done, and if so how?
>
> Is it possible to display a graphic in the console window, so
> that all the 'called forms' have a pretty background as opposed
> to the standard grey.

Try setting up a set of visual attributes with the pattern and color combinations that you want (you can only use those available in the current color and pattern palettes) and give the user a list to choose from (list item, radio group or menu selections) on the console window. Use Set_Canvas_Property with the VISUAL_ATTRIBUTE property to set the chosen background.

You can go through all of the canvases immediately after the choice is made, which changes any displayed canvases as well as those that are subsequently opened keeping the background uniform at any given time, or you can set the property when each window is opened, which leaves already open windows with the background that they were opened with.

--Andy
-- 
-------------------------------------------------------
| Andrew G. Tompkins    | #include <disclaimer.std.h> |
| Software Design Eng.  ------------------------------|
| Tektronix, Inc.                                     |
| Measurment Business Div./Instruments Business Unit  |
| Phone: (503) 627-5172      fax: (503) 627-5548      |
| email: Andrew.Tompkins_at_tek.com (work)               |
|        andytom_at_teleport.com (home)                  |
| http://www.teleport.com/~andytom/                   |
-------------------------------------------------------
Received on Tue Dec 03 1996 - 00:00:00 CET

Original text of this message