dcl_Control_GetBackColor

Started by velasquez, October 29, 2008, 05:59:31 AM

Previous topic - Next topic

velasquez

Hello 
working with PictureBox in OpenDCL 4.1.2.2 and Windows XP I do (dcl_Control_SetBackColor DuctilCAD_Tubos_BG-Flange 11239775) this works well. 
But when I do (Setq JoyBackG (dcl_Control_GetBackColor DuctilCAD_Tubos_BG-Flange)) this comes back -32417. 
This value is totally wandered. 
Why does this happen? 
Is it possible to capture the correct value?

Thanks

owenwengerd

There was a bug in the code causing the color to be returned as a short integer instead of a long integer. I've fixed the bug for the OpenDCL 5 Beta 1 build. Unfortunately I don't think there is any way to work around the problem in OpenDCL 4.
Owen Wengerd (Outside The Box) / ManuSoft