News

Skill Sprint: Saving and Retrieving Settings Using SaveState

Author: Developer Skill Sprints Introduction to “SaveState” Persist form & app state between sessions On mobile devices, background apps may be terminated for memory Default saves state to transient / temporary storage Also option to save to persistent storage TFormSaveState FireMonkey TForm and TForm3D SaveState: TFormSaveState property OnSaveState: TNotifyEvent…
Read more
C++

Cool new FMX components by Graham Murt @kscomponents

Some cool new FireMonkey components, ksComponents (Kernow Software FMX components), created by Graham Murt, are available on GitHub. You’ll find the source code for TksListView, TksFormTransition, TksTableView,TksSlideMenu, TksSegmentButtons and TksChatView. Readme…
C++

How to best load an image from a URL using TWebBrowser when targeting multiple devices

In this snippet, I placed a TWebBrowser control onto my FireMonkey form and aligned it to the client. I then set up the following OnFormCreate event to load a web image into the browser control. I also restricted the image size to the screen dimensions of the device. procedure TWebBrowserImageDemo.FormCreate(Sender: TObject); const cHtmlString = '<img src=%s width=100%%…
Read more
Delphi

Change dproj file and product version

Author: Rubén Pozo If you have a project with automatic builds is posible that you want change the File/Product version of the file. Using the code below you can create a console application for to modify these values easily. program ChangeVersion; {$APPTYPE CONSOLE} {$R…
C++

Developer Skill Sprint: GPU Computing with OpenCL

Author: Developer Skill Sprints This skill sprint replay is available on the Embarcadero YouTube channel athttps://www.youtube.com/watch?v=c4BigmnQhB0 Learning Resources: OpenCL information Kronos Group – https://www.khronos.org/opencl/ Wikipedia – https://en.wikipedia.org/wiki/OpenCL OpenCL v2.1 reference pages…
Read more