Advertisement
2002VB Miscellaneous #19656

Is a certain form open?

Simple API call that tells whether or not a particular form is open. Useful for managing popup forms or a series of forms. Sample usage: If FormIsOpen("Color Picker") Then ' ....Do Something Here Else ' ...Do Something Else Here... End If

AI

Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Mã nguồn
original-source
Public Function FormIsOpen(FormCaption) As Boolean
  FormIsOpen = FindWindow(vbNullString, FormCaption)
End Function
Bình luận gốc (3)
Được khôi phục từ Wayback Machine