Results 1 to 3 of 3

Thread: Multiple Forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    6

    Question Multiple Forms

    I'm trying to create a project kindof like a web page.
    i want to make it so that when i click a button it will hide ther current form and bring up a new form. what do i need to do?

    thank you for your support

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Multiple Forms = MDI ???

  3. #3
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    if you want to show a new form and hide the exsisting form...
    VB Code:
    1. [color=blue]Dim[/color] frm [color=blue]As New[/color] Form2()[color=green]'/// Your other form's name goes here.[/color]
    2. frm.Show()[color=green]'/// show the other Form.[/color]
    3. [color=blue]MyBase[/color].Hide()[color=green]'/// Hide the first Form[/color]
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

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