dcl_Control_SetBackColor not work

Started by Emiliano · 2013-10-15 10:38 UTC · 3 replies · SMF topic #2043

Hello to all,

I inserted a Slideview on a ControlBars

I would like to modify, by code, the background color from white to black:


dcl_Control_SetBackColor TEST_Form_FormTest_SlideView1 0)


Unfortunately it does not work, the color is always white.
I also tried to modify 'Event Invoke' but the result does not change.

Do you have any idea?
For the dcl (vector_image) function I use 256 for black and 255 for white.
I think the color you want to change is set when creating the slide file. Try making the slide with a black background.
I don't think a background color is stored in the .sld file.
@ Emiliano: I have tested this and
(dcl_Control_SetBackColor TEST_Form_FormTest_SlideView1 0)
works just fine.
So perhaps it is something else?

Note: Forget my previous post. In ODCL 256 is ByLayer color (i.e. default color of current layer).