Saturday, November 20, 2010

Visual Basic Forms Method : Arrange

Purpose : Use the Arrange method on an MDI form to arrange all MDIchild forms contained within the MDI form.


Syntax :
[ Name ] . Arrange Setting%

Arguments of the Arrange Method
Arguments : Decsription
Name : Name property of the MDI form
setting% : A value that specifies how to arrange the windows or icons



Private Sub menuWindow_Click ( Index As Integer )
Select Case Index
Case 0 : MDIForm.Arrange vbCascade
Case 1 : MDIForm.Arrange vbTileHorizontal
Case 2 : MDIForm.Arrange vbTitleVertical
Case 3 : MDIForm.Arrange vbArrangeIcons
End Select
End Sub

No comments:

Post a Comment