Hi Colin.
I am running VFP7 with Windows XP. I am calling form b from form a. Both are modal. Most of the time form b appears but every now and then it doesn't. When I cancel the program I find that form b has been opened but is underneath. What can I do about it.Put this code in the activate of your base form class:
WITH This
IF .WindowType = 1
.AlwaysOnTop = .T.
.AlwaysOnTop = .F.
ENDIF
ENDWITH