General information
Category:
Coding, syntax and commands
Title:
MdiForm and control SendToBack problem?
Hi all,
i use vb.net , mdi form. In main page isMdiContainer = true, backgroundImage , label1 use to diplay current time, label2 use to display login userinformation
If i onclick ToolStripMenuItem will show the subform, in this time i set the subform.BringToFront but it still behind all of the control(label1 and label2).
if i set all of control to SendToBack then will lose the control(label1 and label2).
How can i do, i want to subForm can BringToFront ? Thank you .
Anyone know how solve this problem, and i see the othe relate post. Other peole say, MDI isn't supposed to handle that kind of controls it self.
The controls on the MDI are allways on top.
For example, if you dock a panel on one side of the MDI Form, every single child form will never stand on top of it...
My advise to you is for you to put those controls on a borderless form and make it an MDIChild. That you you can play with BringToFront & SendToBack
But i try to add a panel and dock click right side. the control still over the subform.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only