Rick,
>Are similar changes necessary to the cFormMgr.GetFormCount() to prevent counting the SDT Form when getting a count of all open forms. Without the following code, I seem to always have one form open (the DBCXMGR form):>
>CFormMgr.GetFormCount()
>
>Changed…
>IF TYPE("loForm") == "O" AND ;
> UPPER(loForm.BaseClass) != 'TOOLBAR'
>
>To…
>IF TYPE("loForm") == "O" AND ;
> UPPER(loForm.BaseClass) != 'TOOLBAR' AND ;
> TYPE('loForm.lAutoCenter') == 'L'
Good to hear from you...I hope all is going well with you and yours!
The change you propose would definitely filter out the non-MM forms. In what context is the erroneous count from the additional SDT form causing you difficulty?
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com