Results 1 to 2 of 2

Thread: umm new forms

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    hey im trying to make a project and i need to know how to add a new form when some clicks new project on my menu , its going to be mbi and i want it to add to a list box and some one help me here . thanks
    WHat would we do with out Microsoft.
    A lot more.

  2. #2
    Guest
    Try this.

    Code:
    Private Sub mnuNew_Click()
    
        Dim newFrm As Form2
        Static iCount As Integer
        iCount = iCount + 1
        
        Set newFrm = New Form2
        Form2.Show
        List1.AddItem ("Form #" & iCount & " created")
    
    End Sub

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