Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Delphi XE7: ControlType Styled | Platform (https://www.delphipraxis.net/181687-xe7-controltype-styled-%7C-platform.html)

Darlo 3. Sep 2014 08:59


XE7: ControlType Styled | Platform
 
Hallo zusammen,

das TEdit und TCalenderEdit besitzt unter XE7 die neue Eigenschaft ControlType. Hier kann zwischen Styled und Platform umgestellt werden. Bei Platform wird, so habe ich es verstanden, ähnlich wie bei ICL, das native UITextfield zur Laufzeit erzeugt. Habe ich das richtig verstanden? Wenn ja ist es ja möglich native und FM-Komponenten auf einer Form zu mischen :thumb:

Jetzt die große Frage: Warum kann man das nur bei diesen zwei Controls einstellen? Ist das ein öffentlicher beta-Test und es folgt für weitere Komponenten, oder hat das einen anderen Sinn?

Gruß

Der schöne Günther 3. Sep 2014 09:11

AW: XE7: ControlType Styled | Platform
 
Warum nicht? Die zwei sind doch (wenn man es möchte) sicher schon mal besser als keine.

Aber:
Zitat:

Before using the native controls, consider the following limitations:
  • The native controls do not support predefined or custom styles. When the ControlType property is set to Platform, the value of the StyleLookup property is ignored.
  • The native controls do not support the Z-order of the form: a native control is always on top of other controls available on your form.
  • The following event handlers are not supported and cannot be implemented:
    [...]

http://docwiki.embarcadero.com/Libra...ol.ControlType


Ich bin da aber auch ziemlich gespannt- Gebt mir auf Windows wenigstens einen nativen Button, Label und Edit und ich bin dabei :-)


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:20 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