return to form zero to return to the previous form.

> -----Original Message-----
> From: Mike Davis [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 15, 1999 8:18 PM
> To: [EMAIL PROTECTED]
> Subject: Using FrmReturnToForm on unknown form
> 
> 
> I am using a form with FrmDoDialog() and I must return
> to one of several forms.  But I'm having problems determining
> which was the previous form.
> 
> I tried to use:
> form = FrmGetActiveFormID but when I close the form called
> by FrmDoDialog, I get an error that says "No form handler".
> 
> Then I realized that in one instance (during start application) that 
> there was no previous form.  Well I solved this problem by not 
> calling this routine until I had already displayed one form.  
> 
> However, I am still wondering what is returned when 
> FrmGetActiveFormID is called when there is NO current form.  I tested 
> for -1 and that did not seem to work.  
> 
> What is returned if there is no active form?
> --
> -----------------------------------------------------------------
> Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/
> 
> Protect your constitutional rights. Your favorite one may be next!
> -----------------------------------------------------------------
> 

Reply via email to