As promised, I took the not-working frametf.lfm file, added "ParentFont = false" in the two panels, deleted the DesignTimePPI, and now the IDE behaves normally.
Target reached.
A few thoughts:
- Probably there is a bug in the IDE, somewhere. May also be that the message "no parent window" is a catch-all that shows even when the error is different.
- I would like to debug/investigate the IDE and find the bug, but I am afraid to lose too much time and implement a not-so-right solution
About the PPI. I don't notice, at the moment, anything wrong, but that does not count. From a certain perspective, it is *wrong* to rely on PPIs (or DPIs) when designing a form and, maybe, it is wrong that a form designer relies on that. But I am not sure. I think it is best, always, to pack/align/anchor widgets and let the user choose dimensions for fonts, panels and so on - but this is often more work (it is so faster to click and place items in a form...).
But in this particular case, it is more important to be able to work on my project using my three computers than to have correct sizes in the form because sizes are never "correct", they are only in a particular situation. In fact, my project will have preferences for that too; more: I am implementing mouse wheel to zoom (lately my eyes are loosing efficiency...); I noticed that good programs use the wheel as much as possible, and let the user customize the GUI. I also noticed that poorly written programs or OSes tend to limit the user, because they supposedly "know what is right", and I hate them.