AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Cross-Platform-Entwicklung FormFactor / Orientations wie richtig benutzen?
Thema durchsuchen
Ansicht
Themen-Optionen

FormFactor / Orientations wie richtig benutzen?

Ein Thema von gee21 · begonnen am 14. Jul 2014
Antwort Antwort
gee21

Registriert seit: 3. Jan 2013
199 Beiträge
 
Delphi 10.4 Sydney
 
#1

FormFactor / Orientations wie richtig benutzen?

  Alt 14. Jul 2014, 16:51
Hallo.

Ich würde gerne Form1 nur im Portait Modus anzeigen lassen und Form2 in Portrait und Landscape.

Ich habe unter den Projekt Optionen -> Orientation alle Hacken drin.

Jetzt habe ich auf allen Formen alle "Möglichkeiten" (Es dreht sich auf alle Richtungen)

Nun habe ich bei Form1 in OnCreate folgendes geschrieben:
 application.FormFactor.Orientations := [TFormOrientation.soPortrait]; So ist dann Form1 nur noch im Portrait Modus. Was ja auch so gedacht wäre.

Aber wenn ich nun Form2 öffne und dabei den Befehl so "wiederhole":
 application.FormFactor.Orientations := [TFormOrientation.soPortrait, TFormOrientation.soLandscape, TFormOrientation.soInvertedLandscape]; Dann bleibt Form2 trotzdem auch nur im Portrait Modus.

Weiss jemand wieso das so ist, respektive wie man das richtig lösen könnte?
Robert
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:57 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz