Date sent:              Tue, 8 Jun 1999 01:17:43 +0930
From:                   Alan Kennington <[EMAIL PROTECTED]>


> Is it the form which pops up which must have the modal and
> save-behind attributes set? That's what I tried.
> 
> Hmmmm.

Here is how I return to my main form after displaying an About form:
This code is in my AboutFormHandler function.  It checks for the 
clicking of the Ok button:

static Boolean frmAboutEventH(EventPtr event) {
// some setup
// and other code here
switch (event->eType) {
    case ctlSelectEvent:
        switch(event->data.ctlEnter.controlID) {
            case btnAboutOk: 
                FrmReturnToForm(frmMain);
                handled = 1;
                break;
}

There are probably other ways to do this but this works for me.

Mike
--
-----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------

Reply via email to