General information
Category:
The Mere Mortals Framework
Kevin,
>>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?
>
The problem was enabling the menu bars for UserPrefs, etc. Without the above code, the form manager's GetFormCount() was returning 1, even when no MM forms were open. When it returned 1, there was never a ways to select the User Prefs screen, etc. (I assume the problem is the existence of the SDT form in its own private datasession).
Hope all is good with all of you too.
Best,
Rick Hawkins
Rose Valley Software Studio, Inc.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only