Information générale
Catégorie:
The Mere Mortals Framework
thanks Dan, i close all forms (include the user preference form) but the preference form option still disabled, i see the code and see the oApp.oForms.count=0 for activate the user preference option again, but because the user preference form use hide and not release the form is not released. thats why the preference form is not available anymore, i use the last framework of MM.
Regards
Francisco Morosini
>Hi Francisco!
>
>It uses .Hide because the uretval property of the form can be returned to the calling procedure. If you use .Release you can't look at the uretval property because it will be gone. You can see how this works at the end of the DoForm function in UTILITY.PRG. User preferences are disabled when any other form is open. Close all forms and it should become enabled. I just dealt with a problem with this because my User Preference option was always disabled. I found that the SDT dbcxmgr was showing as a form so I had to subclass the Forms Manager and set the nformcountoffset property to 1.
>
>HTH
>
>Dan
>
>>Hello, i see in the click method of the user preference form the command: thisform.hide, for the menu manager i can use this option again because the option for the user preference is disabled, why the form use the option hide in place for the release method?
>>
>>Best Regards
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