Results 1 to 3 of 3

Thread: ToolStripComboBox at maximize

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2011
    Posts
    17

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width