Results 1 to 6 of 6

Thread: form change...

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    How can I make where the main form is there, then they click on a button, and it pops up the next form, but within the data area... Kind of like the Options dialogue, but they are buttons and not the tabs...


  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    Lightbulb Buttons

    In the button event:

    form1.visible = false
    form2.visible = true
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    alright, that works, but I cant use a form can I? cause I want all the info to stay in the one form...

  4. #4
    Guest
    Say you want to click a button on form1 and make it change text on form2, than you'd do:

    Code:
    Private Sub Command1_Click ()
    form2.visible = True
    form2.text1.text = "You clicked Command1 on form1 and changed Text1 on form2!"
    End Sub
    Is that what you are trying to do?

  5. #5

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    yeah, but, will it just put in the text, or everything? (including the buttons, and pictures...) and display it into a frame on form 1. (i.e. an example of this would be the layout on Napster)

  6. #6
    Guest

    Thumbs up Try and see......

    Buttons etc will only appear on form1 if you code them to appear on form1. Whilest form1 is invisible you can add a control array of buttons to it, and muck around with the properties till you get it right. If you have not directly put a button on form1, and not coded it to happen, then it will not simply appear because it is called from form2

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