Перейти к содержанию
Fire Monkey от А до Я

Brovin Yaroslav

Администраторы
  • Постов

    2 124
  • Зарегистрирован

  • Посещение

  • Победитель дней

    390

Сообщения, опубликованные Brovin Yaroslav

  1. present.pngTime is running out for the best deal of the year on RAD Studio, Delphi and C++Builder. Berlin 10.1.2 is the best release in years, with support for all the latest platforms, technologies, databases and features. Act now and you can celebrate Christmas early!

    • Upgrade Amnesty qualifies you for upgrade pricing from any previous version
    • 20% Off Architect + FREE RAD Server Site License (worth $5000)
    • 15% Off Enterprise + All updates into 2018 (with 15 months Update Subscription)
    • 10% Off Professional
    • Free RAD Bonus Pack for all on Update Subscription
    • Buy InterBase Server 50 user license or above and get unlimited InterBase ToGo deployments until 2018!

    For all the details on the current special offers visit the RAD Offer page.

    Просмотр полной статьи

  2. Так, вот ссылка на адрес: http://cafecherdak.ru/главная/куйбышева-38/

    Я буду. Желательно забронировать столик заранее, чтобы не вышло ситуации, когда нет мест. Чтобы это сделать, нужно знать приблизительное количество народа.


  3. When we first launched our Cool App contest, we knew there would be some stiff competition. The winners represent some truly amazing innovations that are helping people live and work more creatively and compassionately. I want to congratulate all these great developers for their innovative use of Embarcadero tools. If this year is any indication, I truly can’t wait to see what’s in store for 2017.1Password.png


    The very first entry to the Cool App contest was 1Password for Windows. This is the premier password and identity manager, and many of us already used it and were fans, but we didn’t know it was written in Delphi. When interviewing the Stefan van As, the developer of 1Password for Windows, it was really clear why he used Delphi: it has a great collection of encryption libraries, fast native code, and everything you need to make amazing user interfaces.

    [YoutubeButton url='https://www.youtube.com/watch?v=CkUF42OPKvE']

    frameforge_pv3pro_previz_studio_3_5_pro_Our next Cool App winner already have a few other awards to it’s name, notably a Technical Achievement Emmy award. And that winner is FrameForge Previz Studio. If you’ve ever seen behind the scenes of a movie you’ve no doubt seen them working with storyboards. A real low-tech way of working through the story and framing before filming begins. Well that has all changed with the introduction of FrameForge 3D pre-visualization software. Not only does it make it much easier to create the storyboard frames, but it understands things like camera spacing, perspective, set layouts and more.

    A little back story. I’m a big fan of the TV series Orphan Black, which is about a bunch of clones. This means the main actress plays a number of different roles, and is regularly in scenes where she is interacting with herself. From the very beginning I was impressed with how well the scenes worked. So much so that I checked the credits to see if she was quintuplets or something. When I was interviewing Ken Schafer, the developer of FrameForge, he mentioned that FrameForge was used in the production of Orphan Black. It all made sense. It is only with a tool as powerful and versatile as FrameForge could something so impressive be pulled off so well.


    [YoutubeButton url='https://youtu.be/PIDlpxdXiY4']

    EarMasterForiPad.jpgI come from a very musical family. Both of my parents released music albums and all my siblings play a couple instruments by ear and sing beautifully. I’m the one they call when they have computer trouble, but I’ve never been musical. I tried. Took a couple classes, but never really got it. That is where the next winner of our Cool App contest comes in. Introducing EarMaster for the iPad. This is the app for people who want to learn music theory like rhythm and the ability to carry a tune. I downloaded EarMaster and installed it on my iPad and I kid you not, within a few minutes my wife noticed a difference. I’m not ready to release an album yet, but I’m planning to work with EarMaster some more.

    Hans Lavdal Jakobsen is the lead developer behind EarMaster. He developed the original EarMaster for Windows in Delphi, and when it came time to create an iPad version he wanted to use Delphi. A few people told him it wouldn’t work, but the end result was he shared 97% of code with the Windows and macOS versions, got to market quicker and had a fantastic native app for iPad.


    [YoutubeButton url='https://www.youtube.com/watch?v=91Bh-JCYKkM']

    I was starting to think nothing else could impress me as much as these first few winners. I was wrong, and I’m OK with that. Expresii is the most impressive paint program I’ve ever seen. It uses the GPU for real-time physics simulation of watercolors. I can watch their showcase video over and over again. It is mesmerizing the way you can reposition the tablet to control the flow of the paint as the water flows down the canvas - in real-time! I’m starting to wonder if there is any reason to use paper anymore at all!Expresii.png Nelson Chu tells me that the GPU simulated physics are powered by GLSL and GLScene, and he uses the built in sensor components that come with Delphi to determine the tip of the tablet. He is looking forward to using the new parallel programming library to simulate a split brush in parallel.


    [YoutubeButton url='https://youtu.be/Tu3O5qvVVHo']

    Our most recent Cool App winner is something completely different. Built by two sixth grade girls, Suresh and Safalta, from Sherwood Middle School in Shrewsbury, Massachusetts, HOP is designed to help prevent both hunger and obesity. The idea is to help people understand the relation between their caloric intake and obesity. So those who are overweight can reduce their caloric intake, and then donate the money they would have spent on food to feed the hungry. It is a brilliant idea.

    The thing I love about this story is Suresh and Safalta’s school taught them to use Java and Python for app development, but they were not satisfied with the selection of tools they saw. Until they tried Delphi. As they put it, “Embarcadero provided [an] easy button tool for compiling codes for multiple devices including android, iOS etc. which helped us to develop app quite faster. We are planning to recommend the use of Embarcadero [Delphi] to other kids interested in developing apps.”


    [YoutubeButton url='https://youtu.be/1I0OEi2gOcE']

    We have an impressive collection of apps as contenders for future cool app winners, but we are always looking for more. Maybe it will be your app. Enter today and you could win the opportunity to be highlighted in a future newsletter, blog post and press release, not to mention receiving a $500 Amazon (or equivalent) gift card.

    Просмотр полной статьи

  4. 20% Off Architect + FREE RAD Server Site License (worth $5000)

     

    As part of the current RAD Studio Architect Offer, you will get a free site license of RAD Server, an additional $5000 value. The offer ends December 21st, 2016.

    The offer is valid with a purchase of RAD Studio, Delphi or C++Builder 10.1 Berlin Architect named user new license or upgrade.  It is not valid with a purchase of Add-On Packs, Starter editions, 5-packs, 10-packs Academic, network named or concurrent licenses.

    This great offer also extends to our current Amnesty promotion. Upgrade to Berlin Architect now from an older version and get a free RAD Server Site License.

    Customers on Update Subscription can also take advantage of our free Bonus Pack Promotion ($899 Value).

     

    What is RAD Server?

    RAD Server is a turn-key application foundation for rapidly building and deploying services based applications. RAD Server enables developers to quickly build new application back-ends or migrate existing Delphi or C++ client/server business logic to a modern services based architecture that is open, stateless, secure and scalable. RAD Server is easy to develop, deploy and operate making it ideally suited for ISVs and OEMs building re-deployable solutions. RAD Server allows you to take your existing code and convert it to REST API endpoints.

     

    RAD Server offers many great features:

    • Multi-Tier Development made easy: Integrations provide out of the box connectivity with external servers, applications and services

    • Quickly Build your UX Forms for Desktop and Mobile platforms in RAD Studio, Delphi or C++Builder

    • Manage your APIs and users, and analyze utilization and API activity via the built-in RAD Server Application Management Portal

    • Host your RAD Server on an a private “on prem” Windows server or cloud host on Amazon, Rackspace or Azure Clouds

    • Deploy your server-side Delphi and C++ code to RAD Server, creating automatic REST/JSON API endpoints for your clients

    • Connect RAD Server to your Enterprise Databases, Cloud Services and IoT Devices to extend your application

    • A collection of ready to use key built-in services to power your application

    • Includes core functions such as user directory services and user management, push notifications, user location tracking, and built-in data storage

    • Configure user groups and add users via the RAD Server portal or import from LDAP. Assign API access rights to control what functionality different user groups have access to

     

    For a full list of features, visit the RAD Server product page.


    [YoutubeButton url='https://www.youtube.com/watch?v=HY0JRJPvjsU']
     

     

    How does RAD Server compare to DataSnap?

     

    Before RAD Server, developers custom built back-end Delphi and C++Builder application servers using server toolkits like DataSnap which provided a few basic server building blocks for multi-tier, but left the vast majority of the development to the developer. Enter RAD Server. With RAD Server, developers can now simply load Delphi and C++ business logic methods into RAD Server, add some users, and go.

     
     

    What technologies does RAD Server include?

     

    The developer features for RAD Server included in 10.1 Berlin for developing REST endpoints, Location Tracking and IoT Edgeware are Enterprise Mobility Services, BeaconFence, ThingPoint and ThingConnect.

     

    Easy REST API Endpoint Creation, Publishing and Management

    RAD Server makes it fast and easy to build flexible back-end servers for your multi-tier application solution. Developers simply load Delphi and C++ business logic into the server, and managed REST/JSON API endpoints are generated.

     

    To develop REST endpoints for RAD Server, developers use the Enterprise Mobility Services (“EMS”) components listed in the IDE on the Tool Palette under the “Enterprise Mobility Services” category.

     

     

    IoT Enterprise Access Points

    IoT Edgeware extends the functionality of REST Endpoint Publishing and provides an enterprise access point between remote gadgets and devices. IoT Edgeware allows you to locally store, filter, and compute vast amounts of IoT data collected at the edge while ensuring only critical data is synced with the central repository.

     

    To develop IoT Edgeware for RAD Server, developers use ThingPoint which is an extension to EMS and represented with TEMSEdgeService in the “Enterprise Mobility Services” category in the Tool Palette in the IDE.

     
     

    Indoor and Outdoor Location/Proximity Solution

    Track user movement both indoors and outdoors, and respond to proximity events when users enter or exit custom beacon zones or approach designated beacon points.

     

    To develop Location Tracking, developers use the BeaconFence components available as a download through the GetIt Package Manager (via Tools > GetIt Package Manager > Internet of Things).

     
     

    Smart Device IoT Connectivity Framework

    RAD Server makes it easy to connect a wide array of wireless smart devices and sensors into your application solution, even in remote and difficult to access locations.  Developers have access to over 50 pre-built components for many popular healthcare, fitness and home automation Bluetooth LE and Z-Wave IoT devices.

     

    To connect IoT devices to clients or RAD Server ThingPoint Edgeware, developers use ThingConnect IoT device components which are available as a download through the GetIt Package Manager (via Tools > GetIt Package Manager > Internet of Things).

     

     
     

    What does a single site license offer?

     
    • Single Site Deployment

    • Single Server Backend

    • Unlimited Users and Devices

    • REST Endpoint Publishing

    • Integration Middleware

    • Application Services

     

    XZgDwtj0tK1WkhLmy2XT_7ErBLn-D5VKoPne2e1M

     
     

    How do I start building a RAD Server solution using the Architect edition?

    RAD Studio Architect includes a 5 user RAD Server development trial. This 5 user trial can be used for developing your solution and performing test deployments.

    Once you are ready to deploy your RAD Server solution in a production environment, you will then follow the steps outlined in the next section and use the RAD Server site license provided with our current Architect edition promotion.

     

    There is no separate RAD Server trial as the technologies are available in 10.1 Berlin. Please see the top of this article for additional information.

     
     

    How do I deploy RAD Server in a production environment?

    We have a great tutorial on our docwiki that provides the steps for deploying RAD Server in a production environment.

    Step 5 shows a screenshot of where you will need to enter the RAD Server site license provided as part of your Architect purchase.

     

    http://docwiki.embarcadero.com/RADStudio/Berlin/en/EMS_Database_Requirements_for_a_Production_Environment

     

    For custom resources, you can use a tool like http://www.dependencywalker.com to determine the bpl dependencies of the custom resource.

     
     

    Where can I access Getting Started resources?

     

    We invite you to watch our RAD Server Deep Dive webinar replay which is broken down into individual chapters for easy viewing: https://www.youtube.com/playlist?list=PLwUPJvR9mZHgccq4EfTcsCngRqpTmm_wn

    Replay slides and demo projects shown in the webinar can be downloaded here.

    You can also find tutorials on the different technologies that are part of RAD Server by following the docwiki links above.  

    For more Getting Started videos, please visit our YouTube Channel.

     

    Sample Projects

     

    REST Endpoint Publishing

     

    IoT Edgeware

     
     

    ThingConnect IoT Device Components

    • For each IoT component pack installed through the GetIt Package Manager, you can find sample projects by navigating to: C:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\Internet of Things\Object Pascal\Thing Connect

     

    Location Tracking

    • After installing the BeaconFence component pack through the GetIt Package Manager, you can find sample projects by navigating to: C:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\Internet of Things\Object Pascal\Beacon Fence

     

     

    Where can I view the RAD Server Eula?

    You can view the RAD Server Eula here.

     
     

    Note:

    RAD Server requires an Enterprise or Architect edition of RAD Studio, Delphi or C++Builder 10.1 Berlin. A trial edition of 10.1 Berlin also allows users to evaluate developing services for RAD Server and will include a 5 user RAD Server development trial.

    This article focuses on RAD Server and the Architect edition, since you get a free site license with a purchase of RAD Studio Architect until 12-21-16.

     

    Просмотр полной статьи

  5. 2 часа назад, Error сказал:

    Требую критики :)

    Костыль: Self.Children[0] - Объект в стиле, использующий стиль может его и не загрузить, но при этом иметь вложенные контролы. Поэтому физически у него еще нет стиля, но один контрол внутри есть. (Подсказка, смотреть ResourceLink)

  6. Не ищет потому что так и не планировалось. Так как компонент не обязательно используется в стиле.

    Например по второй картинке:

    selection является дочерним к панели. И есть предположение, что FindStyleResource должен найти его. С одной стороны логично.

    С другой стороны такая же картинка может быть на форме. И в этом случае FindStyleResource уже не должен найти selection. По скольку в FindStyleResource нету контекста, в чем мы ищем, поэтому он всегда ищет объект только в стиле для стилевых компонентов.

  7. В 22.09.2016 в 18:58, FeLDMARShaL сказал:

    А есть возможность как нибудь реализовать жестами частичную смену картинок (речь про слайды а не про эффекты), например, опустили палец и перемещаем палец вправо, а за пальцем тянется картинка, т.е. при движении пальца вправо текущая картинка уходит вправо за экран, а следующая появляется слева, также выходит из-за экрана, и если пользователь отпустил палец то она уже сама доканца сменилась (по стандартной схеме).

    Т.е. надо разделить эффект когда у нас жест слева на право, от процесса когда мы просто пальцем пытаемся посмотеть что там дальше за картинкой находится.

    Пока нет. Но я сам подумываю добавить такой эффект.

  8. Описание:

    • Назначение: Получение подписи клиента в графическом виде. Позволяет получить векторную подпись клиента на устройстве и сохранить ее в файл с любым разрешением
    • Поддерживаемые платформы: Windows, OSX, Android, iOS
    • Демо проект: Samples\SignatureDemo\SignatureDemo.dproj
    • Доступен с версии: R102 

    Возможности:

    • Экспорт подписи в файл или поток с любым разрешением (TfgSignature.SaveToFile, TfgSignature.SaveToStream). При этом в файле подпись кадрируется, то есть пустые не заполненные области справа, слева, сверху и снизу игнорируются.
    • Доступно изменение точности записи подписи  (TfgSignature.TrackingAccurancy).
    • Возможность получить в процентах степень заполнения подписи клиента (TfgSignature.CalculatePercentFilling, TfgSignature.IsValidSignature)
    • Возможность установить цвет (TfgSignature.Stroke)
    • Возможность задать цвет заднего фона (TfgSignature.Brush)
    • Доступно редактирование длительности отображения уведомления (TfgToast.Duration)
    • Возможность менять глобальные параметры отображения всех тостов в рамках приложения (TfgToast.DefaultBackgroundColorTfgToast.DefaultMessageColor и TfgToast.DefaultPadding)

    Скриншоты:

    2016-12-07_21-18-16.pngSignature.png

    Screenshot_2016-12-07-22-14-20.pngScreenshot_2016-12-07-22-15-03.png

  9. RAD Studio 10 Seattle and RAD Studio 10.1 Berlin have offered specific support for many features of Windows 10, and the Anniversary Edition (of Update 2) of RAD Studio 10.1 adds more, including the ability to generate Appx packages using the Windows Desktop Bridge and offer full support for Microsoft Windows 10 application Store.

    You can find a summary of the features that were already part of the Berlin 10.1 release in the article at https://community.embarcadero.com/article/news/16424-windows-10-anniversary-update-and-rad-studio. As I highlighted there,

    "RAD Studio is the only tool that gives developers the ability to leverage existing code and also support the latest Windows APIs. Clearly, RAD Studio has the best migration path to the latest editions of Windows 10."

    Windows 10 Support in Previous Versions

    This is a summary of the Windows 10 features that were already in the product:

    • The best available support for the traditional WinAPI encapsulated via the VCL library and for Windows COM subsystem. This is unmatched by any other tool and library
    • Great cross platform support with the ability to build applications with FireMonkey on Windows, migrate them to macOS, but also on tablets using the iOS and Android operating systems.
    • Styling support for legacy VCL applications, to modernize their UI seamlessly and with very limited effort
    • A collection of WinRT UI controls (added in 10 Seattle) that offer a modern look-and-feel to your controls in the context of the existing VCL library, and in a way that offers full compatibility between Windows 7 and Windows 10

     

    w10-controls.jpg

    • Support for native WinRT APIs, to leverage new specific Windows 10 features, with ready-to-use components for notifications and contracts

    03-zoom.png

    • Easy migration for old VCL applications to the latest versions of Windows, compared to a complete rewrite with a different language and framework

    Windows 10 Support in Berlin Anniversary Update

    On top of these existing features, the latest Update 2 of Berlin adds some incredible new capabilities for Windows developers, specifically those focused on VCL (but not only):

    • There are new Windows 10 styles you can immediately leverage
    • There are two new Calendar controls (CalendarView and CalendarPicker), which let you add new WinRT like UI elements to a VCL application,m without loosing Windows 7 compatibility.

    w10-calendar-control.png

    w10-project-options.png

    Supporting Windows Store Distribution

    RAD Studio is the first IDE with integrated support for the Windows Desktop Bridge and I think this is a clear indication of the importance we put in allowing our customers to migrate their existing code into the future, rather than pushing them to continuously rewrite their applications for the sake of the platform. The Appx distribution and the Windows Store support are likley going to revolutionize Windows software distribution, bot for Enterprises and end users. Having the ability to take your existing VCL applications and your newer multi-device applications to the Windows Store in such a seamless way can certainly open up new opportunities to your business.

    Microsoft is looking for more applications to be available on the store, will yours be the next one?

    Still not on Berlin? Take advantage of great offers

    Finally, if you are still not on Berlin, consider the current great offers (up to 20% off, Amnesty, and more) available until December 21st and detailed at https://www.embarcadero.com/radoffer.

    Просмотр полной статьи

  10. Аниматор работает с обычным параметром. Параметр ANormalizedTime меняется от 0 до 1. Соответственно, вам просто нужно присвоить новые значения для анимируемого свойства в  DefineCurrentValue в зависимости от этого параметра. Если у вас свойство сложное (многосоставное, состоит их нескольких свойств или TPath), то вам соответственно, нужно выполнить вычисление нового значения для каждого подсвойств по отдельности. 

    Например для TPosition:

    procedure TfgCustomPositionAnimation.DefineCurrentValue(const ANormalizedTime: Single);
    begin
      FCurrentValue.X := InterpolateSingle(StartValue.X, StopValue.X, ANormalizedTime);
      FCurrentValue.Y := InterpolateSingle(StartValue.Y, StopValue.Y, ANormalizedTime);
    end;

     

  11. Close у формы лишь закрывает форму. Если форма главная, то вызывается Application.Terminate.

    Exit(0) по сути сразу же прерывает выполнение приложение в момент вызова. И означает выходи из потока. Поэтому приложение полностью выгружается.

  12. Скачайте пакет и посмотрите на TfgBitmapLinkAnimationTfgPositionAnimationTfgPosition3DAnimation (Модуль FGX.Animations). И обратите внимание, что все это не простые типы. 

    Можете даже просто взять за основу TfgCustomPropertyAnimation и вам будет достаточно переопределить только один метод: DefineCurrentValue.

     

×
×
  • Создать...