I am trying to place a label beside a tab control like the image(sample) below.
I placed the label but the label goes behind the tab control. These are the methods i tried to bring the control front but it is not getting displayed.
none worked
this.labelControl2.BringToFront(); [/CODE]
then i tried to invalidate for a repaint
[CODE] this.labelControl2.Invalidate(); [/CODE]
I also tried to set the child index so that the label is the first control and will be displayed above all control like this
Reviews are opinion genius.
idc about metric for success, I wasn't claiming it was a success.
It's pretty clear what this is about for you when you mix in anti-sjw/gamergate culture war rot and completely ignore, or are blind to, the core point I was making.
Question
still1
Hi all,
I am trying to place a label beside a tab control like the image(sample) below.
I placed the label but the label goes behind the tab control. These are the methods i tried to bring the control front but it is not getting displayed.
none worked
then i tried to invalidate for a repaint
this.labelControl2.Invalidate();
[/CODE]
I also tried to set the child index so that the label is the first control and will be displayed above all control like this
Parent.Controls[0].Controls[0].Controls[0].Controls.SetChildIndex(labelControl2, 0);
[/CODE]
A click on a hyperlink in one of the tab should invoke the label and display the name of the link on the label.
That's my requirement but i couldn't get the label displayed.
even tried to repaint the label manually.I am using dev express tabControl just an fyi.
Link to comment
https://www.neowin.net/forum/topic/1055880-c-label-beside-tabcontrol/Share on other sites
6 answers to this question
Recommended Posts