Label transparent background

Started by Marco Ruiz, June 10, 2016, 12:46:43 PM

Previous topic - Next topic

Marco Ruiz

I have a form with labels defined with transparent background.
At runtime , I change the form background , but the labels with transparent background color do not change the background color of the form.

    FF_Control_SetColor(hWndForm, -1, Rgb(255,140,140))
    FF_Control_ShowState(hWndForm, %SW_HIDE)
    FF_Control_ShowState(hWndForm, %SW_SHOW)

FireFly 3.74

:-\

Paul Squires

The Labels are not transparent in the true sense of what "transparent" means. I believe there are other posts here on the forum  about this but in essence when code is generated by FireFly, labels with transparent property set simply inherit the form's background color (at design time). If the form changes background color during runtime then the labels will also need to be manually updated. This is not done automatically by FireFly.
Paul Squires
PlanetSquires Software