|
-
May 13th, 2011, 08:19 AM
#1
Thread Starter
Junior Member
ToolStripComboBox at maximize
Hi, i have a problem in ToolStripComboBox at maximize window dont change size.
How change ?
I write
Code:
Private Sub Form1_MaximumSizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.MaximumSizeChanged
ToolStripComboBox1.Dock = DockStyle.Right
ToolStripComboBox1.AutoSize = True
End Sub
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
ToolStripComboBox1.Dock = DockStyle.Right
ToolStripComboBox1.AutoSize = True
End Sub
Private Sub Form1_SizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SizeChanged
ToolStripComboBox1.Dock = DockStyle.Right
ToolStripComboBox1.AutoSize = True
End Sub
But don´t work, how fix ?
I like the ToolStripComboBox expand in the bar at maximize or change size of window, similar of dock work.
-----------------------------
ToolStrip white line problem, i make a ToolStrip and in the botton i see a small white line, how clean ??
Ty.
Last edited by hgdavidy; May 13th, 2011 at 08:35 AM.
-
May 13th, 2011, 09:02 AM
#2
Re: ToolStripComboBox at maximize
Follow the CodeBank link in my signature and check out my Tabbed Web Browser thread. The main form in that application has a ToolStripComboBox on it that expands and contracts with the form.
-
May 14th, 2011, 12:50 PM
#3
Thread Starter
Junior Member
Re: ToolStripComboBox at maximize
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|