O
Olivier BESSON
Hello,
When i use LayoutMdi with TileHorizontal or TileVertical and more than 3
windows the result is not the expected one and is the same.
When i TileVertical 4 windows i want them
===
=1=
===
=2=
===
=3=
===
=4=
===
(like ALL windows application does) but i got them :
======
=1==2=
======
=3==4=
======
If TileHorizontal : the result is the same.
Example VB Code :
You open a new windows application and paste this in Form1.vb
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Me.MdiParent Is Nothing Then
Me.IsMdiContainer = True
For i As Integer = 1 To 4
Dim f As Form1 = New Form1
f.MdiParent = Me
f.Show()
Next i
Me.LayoutMdi(MdiLayout.TileVertical)
End If
End Sub
Thanks,
Olivier
When i use LayoutMdi with TileHorizontal or TileVertical and more than 3
windows the result is not the expected one and is the same.
When i TileVertical 4 windows i want them
===
=1=
===
=2=
===
=3=
===
=4=
===
(like ALL windows application does) but i got them :
======
=1==2=
======
=3==4=
======
If TileHorizontal : the result is the same.
Example VB Code :
You open a new windows application and paste this in Form1.vb
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Me.MdiParent Is Nothing Then
Me.IsMdiContainer = True
For i As Integer = 1 To 4
Dim f As Form1 = New Form1
f.MdiParent = Me
f.Show()
Next i
Me.LayoutMdi(MdiLayout.TileVertical)
End If
End Sub
Thanks,
Olivier