At 17:06 2003-4-2 +0400, you wrote:
On PalsOS4 to close dialog I use this code with success

  if(frmP->attr.doingDialog) { //FrmDoDialog is active
   frmP->attr.exitDialog = 1; //for to exit from loop
  }

But on PalmOS5 it`s doesn`t work.
How I can take same effect?

Use FrmEraseForm and FrmDeleteForm(activeForm) from inside the dialog handler. If the form is actively being used as a dialog, this call will just set the exitDialog internal flag and return -- it won't delete the form's structure in memory.



--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to