Results 1 to 13 of 13

Thread: Showing Forms In A Specific Way Dilemma [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    53

    Showing Forms In A Specific Way Dilemma [RESOLVED]

    I have searched first and not found anything that matches what I'm after.

    I'm doing the usual:
    Click button on Form1 and show Form2
    Click button on Form2 and back to Form1

    That's all OK, trouble is, the controls and pictures and infact all the form does a quick sort of flicker when changing forms, yuk, now I have found away around it, which I have to do, but it's causing me some grief.

    So initially what's happening is this:

    Button clicked/form1 hide/form2 shown (showdialog)
    Button clicked/form2 hide(disposed)/form1 shown

    It's this gap from hide to show that's causing the flicker.

    What I need is this:

    Button (form1) clicked/form2 shown/form1 then hidden
    Button (form2) clicked/form1 shown/form2 then hidden/disposed

    Now I've done this and it looks much much better, just what I want, trouble is, lol, I get an extra form1 on the taskbar evertime I do it.

    Does anyone know how to do what I'm after, remember it needs to do this:

    Form1: Button Clicked - Form2 Shown - Form1 Hidden
    Form2: Button Clicked - Form1 Shown - Form2 Hidden/Disposed

    Thanks for anyones help.
    Last edited by JustAProg; Apr 18th, 2003 at 12:28 PM.

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