Information générale
Catégorie:
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement