Results 1 to 3 of 3

Thread: can you create objects/forms in code?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    83
    1. would it be possible to create objects and or forms in code?

    2. if 1 = yes then is it possible to create a form with objects like another one, with a few changed things?

    i think thats all
    Ian Callanan
    VB6.0
    [email protected]

  2. #2
    Guest
    Code:
    Set AnyName = New Form1
    load AnyName
    AnyName.Show

    simple... I am not sure how to change stuff on it...




  3. #3
    Guest
    Code:
    Private Sub Command1_Click()
    Set fff = New Form1
    Load fff
    fff.Show
    fff.Command1.Visible = False
    End Sub

    ok, dont put this in the form load thing

    Code:
    Private Sub Command1_Click()
    Set fff = New Form1
    Load fff
    fff.Show
    stole about half of my ram..
    because each one will try to load a new one, loops forever, till no more memory is left

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