Recent

Author Topic: Forms  (Read 2933 times)

andre72

  • New Member
  • *
  • Posts: 33
Forms
« on: May 08, 2008, 10:12:32 am »
When opening two forms in succession i.e.

Form1.Show;
...
Form2.Show;

is there a way to keep Form2 in view (and not go behind Form1) when Form1 is clicked?

I do know that I can use Form2.ShowModal, but this prevents accessing Form1 controls.

Thanks

A.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
RE: Forms
« Reply #1 on: May 08, 2008, 10:58:50 am »
Change FormStyle to fsStayOnTop.

andre72

  • New Member
  • *
  • Posts: 33
Re: RE: Forms
« Reply #2 on: May 08, 2008, 12:38:50 pm »
Quote from: "Leledumbo"
Change FormStyle to fsStayOnTop.


Thanks :)

A.

 

TinyPortal © 2005-2018