dcl_Control_GetBackColor

Started by velasquez · 2008-10-29 12:59 UTC · 1 replies · SMF topic #460

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
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.