Watch, Follow, &
Connect with Us

Embarcadero Blogs

Latest Posts


Build Windows 10 apps with RAD Studio XE8 and this new VCL Windows 10 Style

Easily build Windows 10 apps now with RAD Studio XE8 and this great new VCL Windows 10 style.

The full release of Windows 10 is right around the corner and your end users will expect apps to adopt the new visual style. This is a great opportunity to get ahead of the curve and prepare your VCL app for Windows 10 today!

The new style works for VCL apps with RAD Studio XE8, C++Builder XE8, or Delphi XE8. XE8 customers can download the new Windows 10 VCL style by clicking here.

To showcase the new VCL style for Windows 10, I created a small sample application that you can see in the screenshots below. In this sample application, I also added a couple of TImage controls using flat icons for the plus icon, the search icon, the refresh icon and the drawer icon.

As you can see in the screenshots below, the window border style, system icons and UI controls such as TEdit, TButton, TCheckBox, TTrackBar etc. all have the new Windows 10 look and feel. In my sample app, I also added a slide in-drawer to show and hide the deposit history which is shown in a TListBox control. Scroll down to the bottom of this post for the code snippet.

Demo app running in full-screen mode on Windows 10:

Windows 10 VCL Style Full Screen

Demo app with BorderStyle = bsSizable on Windows 10:

Windows 10 VCL Style Bordered

Here is a code snippet from my demo for building a slide-in drawer. You could also place the hamburger icon (three line glyph) into the right panel and hide only a portion of the panel so that the hamburger icon is visible at all times. You could then reposition the glyph once the slide in animation is complete.

procedure ShowControlFromRight(AControl: TControl);
var
  I, Step: Integer;
  TickCount: DWord;
begin
  if AControl.Visible then Exit;
  AControl.Align := alNone;
  AControl.Anchors := [];
  AControl.SetBounds(Form1.ClientWidth, 0, AControl.Width, Form1.ClientHeight);
  AControl.Visible := True;
  AControl.BringToFront;
  I := AControl.Left;
  Step := AControl.Width div 20;
  repeat
    TickCount := GetTickCount;
    Dec(I, Step);
    if I > Form1.ClientWidth - AControl.Width then
      AControl.Left := AControl.Left - Step
    else
      AControl.Left := Form1.ClientWidth - AControl.Width;
      Application.ProcessMessages;
    while TickCount + 1 > GetTickCount do;
  until AControl.Left <= Form1.ClientWidth - AControl.Width;
  AControl.Anchors := [akTop, akRight, akBottom];
end;

procedure HideControlToRight(AControl: TControl);
var
  I, Step: Integer;
  TickCount: DWord;
begin
  if not AControl.Visible then Exit;
  AControl.Align := alNone;
  AControl.Anchors := [];
  Step := AControl.Width div 20;
  repeat
    TickCount := GetTickCount;
    AControl.Left := AControl.Left + Step;
    Application.ProcessMessages;
    while TickCount + 1 > GetTickCount do;
  until AControl.Left > Form1.ClientWidth;
  AControl.Visible := False;
end;

procedure TForm1.Image2Click(Sender: TObject);
begin
 if Panel2.Visible then
    HideControlToRight(Panel2) else
    ShowControlFromRight(Panel2);
end;


posted @ Wed, 20 May 2015 23:28:28 +0000 by sarinadupont


RAD Studio XE8: Learn What Developers are Saying & Offers Ending May 31st

Here's a copy of an email that will be going out this week with some info on what developers are saying about RAD Studio XE8 and a reminder of the special offers ending May 31. This is the US and Canada version. The buttons don't look quite right when pasting from the email into here but you can get the idea.


posted @ Wed, 20 May 2015 14:21:00 +0000 by Tim Del Chiaro


IoT in Action: Building a Modern Healthcare Application - Webinar resources and links

On Wednesday, May 20, 2015 I am presenting a webinar titled "IoT in Action: Building a Modern Healthcare Application". The webinar presents the development of connected, multi-device solutions for the healthcare industry, using Beacons and Bluetooth LE devices. During this session, David Intersimone, Vice President of Developer Relations and Chief Evangelist at Embarcadero, demonstrates how developers can use RAD Studio XE8, which supports Proximity Beacons and Enterprise Mobility Services Push Notifications, to build a modern medical application solution for a hospital or doctor’s office.

IoT in Action: Building a Modern Medical Application for a Hospital or Doctor’s Office

Digital devices are proliferating inside medical offices and hospitals, and Bluetooth wearables are being used to capture biometric information. These devices, which are part of the IoT landscape, are providing higher levels of patient monitoring, medical office productivity, and patient information management. Recognizing the potential of these connected devices to transform the everyday experience of visiting a healthcare provider, this webinar will give developers a first hand look into:

  • RAD Studio XE8 connected app development for Windows, OS X, iOS, Android and the Internet of Things
  • FireUI and VCL application development for desktop, smartphone, and tablet devices
  • Proximity-based application development using the new TBeacon component supporting the use of iBeacon and AltBeacon
  • Bluetooth LE development for state-of-the-art medical devices including Heart Rate Monitors, Digital Weight Scales, and more
  • Enterprise Mobility Services (EMS) support for Apple Push Notification Service (APNS) and Google Cloud Messaging (GCM)

Webinar Resource Links

The following are links to additional information used in the Webinar:

I will also upload the slides after the webinar is completed and provide a link here.


posted @ Wed, 20 May 2015 12:32:03 +0000 by David Intersimone


App Tethering : Sharing Persistent Resources Part 2


posted @ Tue, 19 May 2015 20:00:32 +0000 by Malcolm Groves


Today’s RAD Studio XE8 Live Online Deep Dive Workshop - Agenda/Times

RAD Studio XE8 Deep-Dive Online Workshop, Saturday, May 16, 2015 - 8:00am -1:00pm Pacific / 11:00am-4:00pm Eastern

Discover more about how to:

  • Make the most of your VCL Windows applications in a connected world
  • Move existing code up to new levels of scalability, performance and integration
  • Extend existing code and build new apps to embrace mobile, new devices and Internet of Things
  • Utilize high-performance, easy-to-use, enterprise database connectivity
  • Embrace the latest compilers and toolchains
  • Be the most productive you have ever been – for Windows and beyond!
  • …and much more!

Join us for all the technical developer fun - http://forms.embarcadero.com/RADXE8DeepDiveWebinar?cid=701G0000000tKTx

The Workshop Agenda

Start Time Duration Topic Presenter(s)
8:00 5 Intro and Agenda David I
8:05 10 NEW! iOS64bit – OP and C++ David I
8:15 5 NEW! GetIt Package Manager: Access and install from the cloud, popular VCL and FMX source code libraries, components and tools like AsyncPro and Power PDF right from within the IDE. Get the updated TurboPack for free! David I
8:20 5 NEW! MapView component for iOS/Android David I
8:25 10 FireUI multi-device designer and NEW! Multi-device preview + TWebBrowser JimM
8:35 5 NEW! IDE Settings Migration JimM
8:40 5 XE8 Premium Styles – VCL and FMX Al
8:45 5 NEW! Box2D - A 2D physics engine for your VCL and FMX applications Al
8:50 20 ENHANCED! App Tethering: Now it’s easier than ever to extend your VCL and FMX desktop application UI, data and control to mobile and wearables via WiFi, ethernet or Bluetooth now with hooks for data Al
9:10 10 Break #1 BREAK
9:20 20 NEW! More than 20 New IDE Features for Coding Productivity: Code faster and more efficiently with new refactorings, multi-paste support, clipboard history, parenthesis matching, Smart Keys, Code Navigation Toolbar, project statistics and more. JimM
9:40 10 NEW! AppAnalytics: Finally understand exactly how your customers use your VCL or FMX app. Simply add the TAppAnalytics component and get instant access to application usage statistics through your cloud dashboard. David I
9:50 20 RECENTLY ADDED! Easily Add Parallel Processing to Your New and Existing VCL/FMX OP and C++ Apps: Delivering 2x to 8x performance gains on Multi-Core systems. David I & JimM
10:10 30 NEW! Unit Testing: It’s has never been easier or more complete with the new integrated DUnitX testing framework Nick Hodges
10:40 10 Break #2 BREAK
10:50 5 NEW! Native Platform HTTP/S VCL/FMX Support for Windows, Mac, iOS and Android: Makes must-have secure connections a snap. Al
10:55 25 ENHANCED! FireDAC: The best DAC gets better with Updates Management, dbExpress migration, SQLite encryption, InterBase XE7 Change Views. Stephen
11:20 10 Devices – BluetoothLE support (VCL via Win8.1, FMX) JimM
11:30 15 NEW! IoT, Beacons and More: Easily add IoT gadgets and sensors, like proximity beacons, into your existing Windows VCL and FMX apps. JimM
11:45 10 ENHANCED! Parse/Kinvey MBaaS Cloud Services: Easily power your VCL and FMX desktop and mobile application backend infrastructure in the cloud with user management, push notifications, data storage and more. David I
11:55 30 ENHANCED! EMS (Enterprise Mobility Services): Easily integrate your applications to your enterprise and to the world with Push Notifications, REST API publishing, external credentials, database connection pooling, client API component, new administrative app and more. Al
12:25 15 Deep Dive into a Modern Healthcare Application that uses EMS, InterBase XE7, smartphones, tablets, devices and proximity beacons David I
12:40 20 Summary and Final Q&A Everyone
13:00 300 Minutes  

posted @ Sat, 16 May 2015 15:48:25 +0000 by David Intersimone


Important InterBase XE 7 – Update 2

InterBase XE7 – update 2

InterBase XE7 update 2 is now available for Windows and Linux server and ToGo. This update is highly recommended for all users of InterBase XE7.

For what is new and resolved issues in InterBase XE7 Update 2, please see the online InterBase documentation. – but in short, following update 1 with some change view enhancements – update 2 contains a number of fixes to general bugs reported.

Working with reserved words.

A list of Known Issues is available in the documentation. One that I will highlight is the addition of CHANGE, CHANGED, INSERTED, UPDATED and DELETED as reserved words in InterBase XE7 due to the introduction of Change Views.

I have heard of a few cases where developers have SQL statements that have stopped workings because their tables have fields that are one of the reserved words, e.g. UPDATED; Its easily to ensure those keep working by putting field names in “quotes” in your SQL statement.

As we know a lot of developers don’t quote their field names, we are working towards either a hot-fix or an update for the future that will only work with these as reserved words IF Change Views are being used, however it is recommended that you add “quotes” to the fields in your SQL if you are at all in doubt.

Download

For registered users, you can find the patch downloads at http://cc.embarcadero.com/reg/interbase

Server Edition

Windows
http://cc.embarcadero.com/item/30198

Linux
http://cc.embarcadero.com/Item/30199 

ToGo & IBLite Edition

Registered Users Downloads

Developer edition and Trial

https://downloads.embarcadero.com/free/interbase

 

The post Important InterBase XE 7 – Update 2 appeared first on Stephen Ball's Technical Blog.


posted @ Fri, 15 May 2015 10:40:02 +0000 by Stephen Ball


Creating Custom Multi-Device Preview Devices

In RAD Studio XE8, we introduced the Multi-Device Preview. The Multi-Device Preview provides a design time view of what your application is going to look like on a wide range of devices. 

In RAD Studio XE8, you can easily add your own device to the Multi-Device Preview to see what your application is going to look like on a specific device.

In this quick tutorial, I am going to show you how to add the Moto360 Android watch as a custom preview device.

1. Go to Tools->Options->Form Designer->Device Manager

2. Click on Add…

3. Select Device Name, Platform and Form Factor, such as  ’Moto360‘, ‘Android‘ and ‘Watch

4. Load a custom Device Background graphic (this should be a png)

5. Select at least one Orientation, such as Portrait

6. Define the Screen Upper Left Corner points and the Screen Size 

7. Go to View->Multi-Device Preview to bring up the Multi-Device Preview

8. Select Moto360 from Available Previews

Device

 preview

 

 XE8 Trial

 


posted @ Thu, 14 May 2015 20:39:50 +0000 by sarinadupont


RAD Studio XE8 Deep-Dive Online Workshop - This Saturday!

Don't miss out on this in-depth look at RAD Studio, Delphi and C++Builder XE8 this Saturday.



RAD Studio XE8 Deep-Dive Online Workshop

Saturday, May 16, 2015
8:00am -1:00pm Pacific / 11:00am-4:00pm Eastern

Join David I and Embarcadero Technical Experts for this very special Saturday deep-dive RAD Studio XE8 online workshop.


Discover more about how to:
  • Make the most of your VCL Windows applications in a connected world
  • Move existing code up to new levels of scalability, performance and integration
  • Extend existing code and build new apps to embrace mobile, new devices and Internet of Things
  • Utilize high-performance, easy-to-use, enterprise database connectivity
  • Embrace the latest compilers and toolchains
  • Be the most productive you have ever been – for Windows and beyond!
...and much more!

The workshop will include detailed technical demonstrations by David I, Embarcadero technical experts and special guests. Live online Q&A will also take place throughout the workshop.

AGENDA
  • Welcome & Introduction
  • RAD XE8 Product Vision
  • What's New in XE8
  • Developer Productivity
  • Enterprise Mobility Services including the new Push Notification Support
  • InterBase XE7 with the new Change Views
  • Deep Dive into a Digital Medical Technology Application (that uses devices and proximity beacons)
  • Summary and Q&A

posted @ Thu, 14 May 2015 07:30:00 +0000 by Tim Del Chiaro


App Tethering : Sharing Persistent Resources Part 1


posted @ Tue, 12 May 2015 20:00:54 +0000 by Malcolm Groves


Fast Apps Fast at Android Dev Days in Ankara

I’m in Ankara for Android 2015 Developer Days. I had two live demonstrations yesterday and it was great fun!

More info at Embarcadero community blog.


posted @ Tue, 12 May 2015 06:40:30 +0000 by Pawel Glowacki


Server Response from: BLOGS1