transparency - Transparent control or user control in vb.net -
i trying make transparent control child controls visible , opaque.
i have added panel control main form via code in form load event. in adding 5 buttons child controls like: panel.controls.add(). of these, have set backcolor=color.transparent.
when run program, button background shows background of next button in panel. if open child form, can see labels on child form background of panel.
i want make container panel control transparent, can see main form through it. how can achieved?
when form loads, can see neighbor buttons behind actual buttons
"perform check" label on child form opened right before taking picture.
: "check cases , combinations" button on child form opened right before took picture.
how can make transparent? why doesn't background of panel control refresh main form background? panel sort of "keeps" whatever happens on main form , shows background.
i found out there issues setting controls transparent , on top of other controls in main form. take background of container form, whether or not there control in between. used wpf form instead of panel , worked perfectly.
Comments
Post a Comment