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
That would probably be a good outcome, but it would also require other "features" be changed to comply, such as Auto play, scrolling, and advertising.
Having the laws shift these platforms back to a socially responsible and useful places is a benefit for everyone. The addictive nature is the problem, and while many blame the individual, psychologists would suggest the platform is using a well trodden playbook to hook in more revenue..
It was a rather nice rant as I rather dislike when people support the shitifcation of the Internet. My comment also factually applied the definition of "clickbait' to this headline unlike your comment.
I have been reading this site for some 20 years now so I will call them out when they are doing carp they shouldn't be doing but thanks for your concern. You can't even do a search by headline anymore to do a quick search to find something because most of the titles lack all the relevant keywords that should be there.
Yeah, no doubt! I loved when gaming magazines shipped with the latest and greatest demos! I still have many including Quake 1 demo way back when. Kinda like PC boxes with thick manuals, instructions, etc.
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