Please note that the DeviceOrientation property only affects the orientation of the IWIPhoneRegion at design time. The region is client aligned at run time by default.
To adapt the appearance of your app to the device it is displayed on, see the following FAQ entry:
Thank you, I'm aware of that code (and using it). But the problem is that I'm trying to align the components at the center of the screen when the user changes the orientation of the phone/tablet and I can't get this kind of alignment to work (with Delphi).
When I try to program the alignment by calculating the sceen's width and positioning the components at the center they got to wierd positions and I have to reload the screen (not acceptable).