Hi Felipe,
You should never have a X minimize button in a form which will be shown as a modal form.
No, of course not. That's why I ask to get rid of the X button. Problem is that
using WinCEWidgetset.WinCETitlePolicy := tpOKButtonOnlyOnDialogs;
together with borderstyle:=bsDialog indeed shows an OK button, but the formsize is not adapted to the screensize (and it is floating). And to make matters worse, on a keypaddevice the menu is gone (which I need to close the form) and on PocketPC the menu that appears on the modal form is not the menu of the modal form...

Which taskmanager? Does it exist in the emulator?
The taskmanager is on the programs-page of WM 6.5 and is on the settings/system/Memory tab running programs on a WM 5 emulator. On WM6.1.4 it is on Settings/System/Task Manager.
With Borderstyle set to bsDialog, however, I can see now 1 running task, which is identified by the caption of mainform. Thats ok. But if the modalform is active and I switch (via Start) to the taskmanager, I can "activate" my program. But if I do, the mainform appears (unresponsive of course) and the modalform is hidden AND unreachable...
As I said, almost anything can be worked around (except for the menus... aargh... those wince menus...)
I've tried all kinds of settings for Borderstyle, BorderIcons, autocreate or runtime create, settings for the WinCETitlePolicy, but I just can not find a combination that:
- gives me a modalform
- allows for menubuttons on that form to Cancel or Accept
- Shows the modalform instead of the Mainform if it is present AND the program is reactivated via TaskManager
- Does not allow the user to HIDE it (it would show the mainform, but ofcourse unresponsive)
- Works on both PocketPC AND Keypaddevice.....
Thanks for responding... :-) I left you some regression in the bugtracker too...

John