comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLitWindow Background Colour
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLitWindow Background Colour [message #65601] Wed, 11 March 2009 17:20 Go to previous message
Jye is currently offline  Jye
Messages: 17
Registered: May 2008
Junior Member
Hi Everyone,

Heres a nice easy question for someone out there. How do you change
the background colour of IDLitWindow? In the example below you can see
the background to the right is white and I would like to set it to
black.

Cheers
Jye

PRO Background_Example

oImage = Obj_New('IDLgrImage', dist(100))

oModel = OBJ_NEW('IDLgrModel')
oModel -> Add, oImage

oView = OBJ_NEW('IDLgrView', VIEWPLANE_RECT=[0,0, 100, 100],
DIMENSIONS=[500,500])
oView -> Add, oModel

TLB = WIDGET_BASE()
Draw_oWin = WIDGET_DRAW(TLB, XSIZE=700, YSIZE=500,
CLASSNAME='IDLitWindow', $
GRAPHICS_LEVEL=2)

WIDGET_CONTROL, TLB, /REALIZE
WIDGET_CONTROL, Draw_oWin, GET_VALUE=oWin

oWin -> Add, oView

END
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLitWindow Background Colour
Next Topic: computer internet

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:56:38 PDT 2025

Total time taken to generate the page: 1.19842 seconds