General information
Category:
The Mere Mortals Framework
Debug showed that the Login Form is still open.
Shouldn't this form be released after successful
login. I am just using the framework's built-in
login form. The parent cmdOK calls
ThisForm.ValidateIDAndPassword() which does not
release the form - just Hides it. I fixed
temporarily by changing
RETURN goApp.oForms.GetFormCount() = 0
to
RETURN goApp.oForms.GetFormCount() = 1
in cfiledbutilsbar's AllowDBUtils().
Thanks,
Bryan
>> Open forms do not seem to be the problem. These items
>are disabled even at app start (no form open - just a
>menu and the toolbar). Any other ideas? Thanks.
>
>Bryan,
>
>I went and looked at the code in ctmenus.vcx. The class cfiledbutilsbar has the cSkipFor property set to !This.AllowDBUtils(). If you look at that method, you see:
>
>RETURN goApp.oForms.GetFormCount() = 0
>
>If you do not have any forms open, this should return True. Try steping through debug at this point and see what is open.
>
>Kind Regards,
>
>Mat
Previous
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