windows10

5 Unique Delphi features for Windows 10

To the average non-technical computer user, Windows10 might seem as just another Windows version. I still hear both non-technical users and developers ask why they should leave Windows 7 behind. What exactly is so unique about Windows 10? In order to understand why Windows10 is awesome, we first have to take a step back to the previous edition of Windows, namely Windows 8. A bit of context At the time when Windows 8 was the latest thing, Microsoft was still active in the mobile market, and Windows 8 represented a substantial refactoring of the Windows family. Microsoft made no secret of their plans to eventually retire x86 in favour of ARM (which is still a goal for both Microsoft and Apple), and in order to deliver said platform transparently, the OS was to be engineered from the ground up. The result of this effort was WinRT (Windows Runtime), a chipset agnostic architecture that, once adopted, enabled developers to write applications that could be compiled for any CPU, providing the code was source-compatible (not unlike FireMonkey and its abstraction layer over desktop, mobile and embedded). The idea was initially to retire the aging WinAPI and thus make the entire Windows eco-system portable. But WinRT has not replaced WinAPI, instead it co-exists and compliments the system. Universal Windows Platform (UWP) Needless to say the Windows 8 journey did not go as Microsoft had planned. They took Windows Mobile off the market (which is a great shame, Windows Mobile was wonderful to use) and decided to focus on what they do best; namely the Windows desktop. UWP (universal windows platform) can be seen as a kind of successor to WinRT. It incorporates the same technology (so WinRT is still there) except it has broader implications and embrace more diverse technologies. The most important being that it allows other languages, and developers that don’t use Visual Studio to co-exist without the restrictions of Windows 8 (WinRT was C++ only). Microsoft also added an emulation layer to UWP, to make sure applications written for x86 and WinAPI can seamlessly run on ARM. I should underline that Delphi features for Windows 10 has support for the WinRT APIs that are now an intrinsic part of Windows 10. There are some 40 units in the VCL (under the WinAPI.* namespace) that let you work directly with that aspect of Windows. As well as components written especially for Windows 10, that we will cover briefly in this post. Right then. Lets jump into my top five features and have a closer look! 1: Scaling and DPI awareness If you have updated to Windows 10 you have undoubtedly noticed that graphics are smoother than under Windows 8 (and especially Windows 7), and that Windows will scale form content if you are using a monitor that supports high DPI. This feature goes deeper than you might expect, because users can have both HD and SD capable monitors connected to the same machine – and Windows 10 will ensure that applications look their best regardless of DPI count. Support for DPI awareness for monitors, has to be defined in the application manifest, but this is now a part of your project options inside the Rad Studio IDE. So making your desktop application DPI aware is nothing more than a 2-click operation. […]

Read More

Upgrade Your WinApps To Windows 10 With RAD Studio

Odată cu încheierea perioadei de asistență pentru Windows 7 în data de 14 Ianuarie 2020, nu a fost niciodată un moment mai bun pentru a vă upgrada aplicațiile pentru Windows 10 with RAD Studio.  RAD Studio oferă asistență extinsă pentru Windows 10. Cu RAD Studio 10.3.3, puteți actualiza rapid și ușor aplicațiile VCL la Windows 10 cu componentele de control Windows VCL, stiluri și servicii WinRT / UWP Windows 10. Acest lucru face ușor să abordați paradigme UI comune pe Windows 10. Embarcadero oferă o serie de controale VCL UI special concepute pentru Windows 10. Include documentație detaliată și demonstrații pentru diferitele controale VCL la care aș recomanda să aruncați o privire: TSplitView este un container pentru alte controale care pot fi deschise și închise, similar cu TMultiView în FireMonkey TRelativePanel este un panou de aspect care vă permite să poziționați și să aliniați obiectele copil în raport cu celălalt sau cu panoul părinte TToggleSwitch oferă două stări, pornit și oprit TDatePicker și TTimePicker sunt controale moderne de selectare a datei și a orei TCalendarView și TCalendarPicker oferă vizualizări de lună, an și decenii TSearchBox este un control de editare care oferă funcții de căutare TActivityIndicator oferă un indicator rotativ animat pentru utilizare în aplicațiile Windows 10 TCardPanel este o componentă specializată care gestionează o colecție de carduri TStackPanel este un control al containerului care vă permite să aliniați automat toate controalele parentale vertical sau orizontal, păstrând setările personalizate pentru înălțime și lățime ale fiecărui control. Solicită oferă personalizată RAD Studio! Folosind stiluri, este foarte ușor să schimbați complet aspectul aplicației dvs. VCL. Pentru a seta un stil pentru aplicația VCL, selectați stilul în Proiect> Opțiuni> Aplicație> Aspect. Puteți alege dintre mai multe stiluri VCL Windows 10 încorporate sau să descărcați altele prin intermediul pachetului GetIt Package Manager (Instrumente> Manager pachet GetIt) din categoria Stiluri. De asemenea, oferim multe stiluri Windows încorporate pentru FireMonkey și cele personalizate pe care le puteți descărca prin intermediul pachetului GetIt Manager și se pot aplica aplicației Windows FireMonkey folosind TStyleBook.

Read More