Recent

Author Topic: How to determine which form is displayed??  (Read 4813 times)

abmservice

  • Jr. Member
  • **
  • Posts: 69
How to determine which form is displayed??
« on: August 04, 2010, 09:36:27 pm »
I have applications where it is a main form and run it through other forms.
When I run it a problem when there is no function Minimize and then restore.
When I have several forms open after the function Minimize and restore the main and I can only see that which is active. I do not see forms that enabled = false.
How to get a list of visible forms, and how to restore the function Minimize .????????

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: How to determine which form is displayed??
« Reply #1 on: August 04, 2010, 09:52:36 pm »
If the form is visible, property Form.Visible is True.

You can restore a minimized form by setting Form.WindowState to wsNormal.
« Last Edit: August 04, 2010, 10:05:53 pm by typo »

abmservice

  • Jr. Member
  • **
  • Posts: 69
Re: How to determine which form is displayed??
« Reply #2 on: August 05, 2010, 10:09:54 am »
Forms are only visible enabled = false. how to get the information that forms are visible = true?

 

TinyPortal © 2005-2018