小弟在线等

解决方案 »

  1.   

    按CTRL键,用鼠标选中多个控件,按F4键,输入相同的left值
      

  2.   

    如何 自动排列窗体中的控把你所需要的控件用move方法放置相通的top就ok了  '//操作按鈕排列設置
      For I = 0 To CmdContor.Count - 1
        CmdContor(I).Width = (FrmContor.Width - FrmContor.Left * 2) / 13
        CmdContor(I).Left = I * CmdContor(I).Width + FrmContor.Left
        CmdContor(I).Height = (FrmContor.Height - FrmContor.Top * 3)
        CmdContor(I).Top = (FrmContor.Height - CmdContor(I).Height) / 2
      Next