Labels on a Picture Box

Started by copter · 2009-06-04 16:35 UTC · 4 replies · SMF topic #788

Hello

How can I put labels controls on images without they "disapears" behing the picture box ?
I tried Ztab order but it is without effect when the form loads.
I tried also label.refresh in the "On paint " event of the picture box, but the label becomes unstable (It shakes)

Thanks for your help

Copter.
Instead of using label controls, use (dcl_PictureBox_DrawWrappedText) to draw your text in the picturebox.
Thanks Owen I'll do that.
But I have nearly the same problem with Textbox and Checkbox controls.
When one is bellow, the another one is behind ...
One example is attached
Copter
Attachments
Move the picture to the background in the z/taborder (and do not wonder that the picture seems to be over the other controls in the editor. it won't be so at runtime.).

If you only use a picture to color a dialog area then the controls over picture box should not use transparent backcolor but the same backcolor as the picture behind.

Fred
Attachments
You are right.
It works in that way.
Thanks

Copter