The problem is probably your use of modal forms. A better design might be to make the forms non-modal and modify your codes as follows:
THISFORM.Hide()
IF WEXIST('frmXName')
frmXName.Show()
ELSE
DO FORM FormX
ENDIF
>Hello Foxperts,
>
>I've created a small app that has four forms with 'previous' and 'next' buttons to move between them. All the forms are WindowType=1-Modal. The Click event-method has the following code:
>
>ThisForm.Release
>DO FORM fox3
>
>however, the forms are not releasing when the buttons are clicked, and I end up with all the forms on the screen.
>
>Where have I gone wrong?
>TIA,
Mark McCasland
Midlothian, TX USA