hi everybody...first and foremost, thank God for discussion sites like this... my question is: how to implement a class to monitor would-be active forms derived from a form class...i tried using a cursor in the initialization of my main active form, for every occurrence, i append the form's name + unique suffix to the cursor, if unique name exists, no creation of that new form will be made... is there any easier way to implement this. i'm a believer in RAD. thank you so much... yong

Re: monitoring active forms derived from a form class by Jack

Jack
Thu Jul 01 02:54:22 CDT 2004

On Thu, 1 Jul 2004 00:15:01 -0700, Yong Mallare <Yong
Mallare@discussions.microsoft.com> wrote:

>hi everybody...first and foremost, thank God for discussion sites like this... my question is: how to implement a class to monitor would-be active forms derived from a form class...i tried using a cursor in the initialization of my main active form, for every occurrence, i append the form's name + unique suffix to the cursor, if unique name exists, no creation of that new form will be made... is there any easier way to implement this. i'm a believer in RAD. thank you so much... yong

A cursor may be difficult to manage if your forms have private data
sessions.

The _SCREEN.Forms collection has a reference to every form that is
currently open. You could scan through that to see if a form already
exists.