Hello
using ODCL 5.0.0.15 DEU from May, 12.
I have some troubles with a palette and I have no workaround yet. It so only in the palette (dcl_form_show layer_sc_layorder) when it is shown docked at show-method. It will be shown correctly after resizing or in floating mode.
Here you can see a video: http://www.opendcl.de/videos/palette/palette.html
And I attached the project.
Fred
I think that's a 2009 issue....
You're right, Barry, I forgot to mention, that this only occurs in 2009. But that's why I put a rectangle in the background, hoping to avoid that. In other palettes it works, but not in this one.
Fred
There is something in my OnInitialize-function that makes me trouble >:( .
Fred
Got it: making something invisible in the OnInitialize causes this effect. When I comment only the lines out where the four controls shall be made invisible, suddenly the dark background appears.
Fred
Hello Owen,
I believe that the changes which are made in the OnInit-function causes this effect.
I attached an example.
You can see the difference what happens when controls are changed (command LAF1) and nothing was changed (command LAF2).
Hope that helps.
Fred
An additional note:
This problem occurs only if any transparant control is on the form AND in the OnInitialize-function changes the visibility states (dcl_control_setvisible) or values (dcl_control_setalue).
Setting backcolor to -16 (instead of -24) to every rectangle, button, optionbutton, checkbox and label solved this.
Fred
Fred, can you post this as a bug report on SourceForge? If possible, please include a very simple sample with as few controls as possible.