Change Form background

Started by orlandkim, March 27, 2008, 06:48:27 AM

Previous topic - Next topic

orlandkim

Hi people .,

I need to change form background.
In my layout project the background is white but OpenDCL don´t leave me change the default backgroud color (gray).

Is this possible ? How ?

I tried using dcl_Control_SetBackColor but don´t work.

Thanks

owenwengerd

Try placing a rectangle control on your form behind all the form's controls. Set the rectangle to resize with the form. You can then set the rectangle's background color to whatever you want the form background color to be.

orlandkim

Good Idea.

I´ve tried to put the PictureBox with backgroud color but was very horrible.

In rectangle control do you know how property or method I change the background color.
LISP ? DCL ?
Because in my opendcl it isn´t there.

Thanks
And best regards.

BazzaCAD

What version are you on?

(dcl_Control_SetBackColor Untitled_Form1_Rectangle1
    newValue [as Long])
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom