Posts

Follow the 'My Top 10 Aurelius Features series.' by Wagner Landgraf!

Follow the 'My Top 10 Aurelius Features series.' by Wagner Landgraf! You can read the full blog post at http://www.tmssoftware.com/site/blog.asp?post=369 The #10 feature blog post is also published at http://www.tmssoftware.com/site/blog.asp?post=370 Others will follow in the coming weeks. https://youtu.be/DphQU80tRD4

I think property of method reference type should be treat as event.

I think property of method reference type should be treat as event. https://quality.embarcadero.com/browse/RSP-16483 https://quality.embarcadero.com/browse/RSP-16483
LiveBindings - How to bind tree structure data to a TTreeview?

The Open Tools API using C++ Builder

The Open Tools API using C++ Builder http://www.davidghoyle.co.uk/WordPress/?p=1479 http://www.davidghoyle.co.uk/WordPress/?p=1479

Hello

Hello, I'm trying to implement an AutoSuggest feature for my TComboEdit component (FMX / Android). I've found a nice example : http://stackoverflow.com/questions/39339048/firemonkey-edit-combo-autocomplete-autosuggest-while-typing Problem is this is not working. Application crash on method TStyleEdit.UpdateSpelling: model property is nil. Documentation is soooo light that I don't know where to start to look at ! Am I trying to reevint the wheel ? AutoSuggest (and alike) does exists on Firemonkey controls ? http://stackoverflow.com/questions/39339048/firemonkey-edit-combo-autocomplete-autosuggest-while-typing

My top 10 Aurelius features (ongoing):

My top 10 Aurelius features (ongoing): http://www.tmssoftware.com/site/blog.asp?post=369 http://www.tmssoftware.com/site/blog.asp?post=369
I let my #SmartInspect maintenance run out today, simply because there doesn't seem a single point in renewing it. It's not like the vendor is putting any resources in updating the product to match the current Delphi version. Instead they keep answering all questions in that matter with "just use the current version, it works" (missing the IDE plugin, of course), so why bother? Sad, but it looks like the focus is elsewhere, probably even more after having been bought by Idera.

Hi guys

Hi guys, Is there any way to deal with interface method resolution with overloaded methods? I'm getting a identifier redeclared compiler error Checked the docs, found nothing about overloads http://docwiki.embarcadero.com/RADStudio/en/Implementing_Interfaces Code looks like this: https://gist.github.com/ortuagustin/3b14d51881b922cdc500f214dc85e36a

I just tested DataSnap REST server and at every call from the client the TServerMethods1 is created and destroyed losing all my session data.

I just tested DataSnap REST server and at every call from the client the TServerMethods1 is created and destroyed losing all my session data. The client is showing the same SessionID. This is not the case with non REST DataSnap server where server methods object is destroyed at session end. I'm donging something wrong? P.S. I'm using Berlin 10.1.2

There seems to be a move back to the drag and drop RAD approach for development.

There seems to be a move back to the drag and drop RAD approach for development. http://www.computerworld.com/article/3146115/application-development/google-gets-into-the-low-code-enterprise-app-development-biz.html http://www.computerworld.com/article/3146115/application-development/google-gets-into-the-low-code-enterprise-app-development-biz.html?idg_eid=95890b7b2b9a495c220b276a4197aafa&token=%23tk.CTWNLE_nlt_computerworld_enterprise_apps_2016-12-02&utm_source=Sailthru&utm_medium=email&utm_campaign=Computerworld%20Enterprise%20Apps%202016-12-02&utm_term=computerworld_enterprise_apps#tk.CW_nlt_computerworld_enterprise_apps_2016-12-02

Question to component developers: Is there any global variable or define to recognize Studio "Starter" edition at compile-time ?

Question to component developers: Is there any global variable or define to recognize Studio "Starter" edition at compile-time ? {$IF IsStarter} ... {$ENDIF}

Originally shared by TRichView

Image
Originally shared by TRichView We released our #installer program as freeware with source code: http://www.trichview.com/ideinstall/ We just updated it to version 2.0. We created this installer for our own use, but if other developers like it, they can use it for installing their components. This installer installs components in #Delphi and C++Builder IDE. It is suitable for installing both precompiled trial and source code versions of components. The main change is a new package naming scheme. Previously, there were 32-bit designtime packages and 64-bit runtime packages. This scheme is still maintained for a backward compatibility. Now, there are 32-bit designtime packages and 32+64bit runtime packages. Note: the current version of the Installer still does not support 64-bit C++Builder-only (CBPROJ) packages. In the new version, the installer: - supports Delphi and C++Builder up to 10.1 Berlin - displays meaningful package names instead of file names while installing - can remove pat...

Hi all.

Hi all. I installed Berlin Update 2 last week and have been doing C++ stuff up until yesterday. I opened a Delphi project to finish it and have found that my custom code templates are not being recognised. The template panel is finding completely new templates I've created (debugl.xml for instance) but the modified ones (for.xml) are not being recognised and the default ones are being used (I capitalise my keywords). Is anyone else finding this?

Hi all. I installed Berlin Update 2 last week and have been doing C++ stuff up until yesterday. I opened a Delphi project to finish it and have found that my custom code templates are not being recognised. The template panel is finding completely new templates I've created (debugl.xml for instance) but the modified ones (for.xml) are not being recognised and the default ones are being used (I capitalise my keywords).

Hi all. I installed Berlin Update 2 last week and have been doing C++ stuff up until yesterday. I opened a Delphi project to finish it and have found that my custom code templates are not being recognised. The template panel is finding completely new templates I've created (debugl.xml for instance) but the modified ones (for.xml) are not being recognised and the default ones are being used (I capitalise my keywords). Is anyone else finding this?

Callout to all Delphi Android programmers....

Callout to all Delphi Android programmers.... Is there a guide on how to use Android classes in Delphi? I have gone through Brian Long's coderage video but I was wondering if there was something a bit more detailed than that... I am trying to use Google maps directly (intead of TMapView)

v1.2 Release

v1.2 Release ** Optimizations in Various Hashes like Siphash, MurmurHash etc. ** Cleanup of Some Unused Methods. ** Fixed Some "Potential Bugs". ** Fixed a slowdown (for Delphi in SHA0, SHA1, SHA2 based Hashes) that was introduced in the previous release because of manually unrolled loops. ** Various Improvements. https://github.com/Xor-el/HashLib4Pascal https://github.com/Xor-el/HashLib4Pascal

Hello guys

Hello guys, Even that the most voted feature requests have nothing to do with what will be implemented in future releases and when, voting up for them increase their priority and make them close to get considered/done. Please, don't forget to vote :D Here is a TOP20 below: https://quality.embarcadero.com/browse/RSP-14867 - Local variables with value https://quality.embarcadero.com/browse/RSP-13290 - NameOf(T) compiler (magic) function https://quality.embarcadero.com/browse/RSP-12100 - Ternary operator https://quality.embarcadero.com/browse/RSP-12527 - Additional class operators https://quality.embarcadero.com/browse/RSP-13340 - Expanded/Enhanced type helpers https://quality.embarcadero.com/browse/RSP-15539 - Binary literal https://quality.embarcadero.com/browse/RSP-13724 - Global generics https://quality.embarcadero.com/browse/RSP-13141 - Char in [] operator for Unicode strings https://quality.embarcadero.com/browse/RSP-12767 - Enumerable constraint to generics https://qua...

Originally shared by David Berneda

Originally shared by David Berneda New small Delphi unit to enable Collection properties design and runtime persistence, for different ("heterogenous") TCollectionItem class types. https://github.com/davidberneda/Diverse-Collection-Items (I guess there are already many solutions to this. TStream itself had maybe to support "polymorphic" TCollection persistence by default)

Code of the day:

Code of the day: procedure TForm1.Button1Click(Sender: TObject); var aTask: ITask; begin aTask := TTask.Create (procedure () begin sleep (3000); // 3 seconds ShowMessage ('Hello'); end); aTask.Start; end; From http://docwiki.embarcadero.com/RADStudio/Berlin/en/Using_TTask_from_the_Parallel_Programming_Library http://docwiki.embarcadero.com/RADStudio/Berlin/en/Using_TTask_from_the_Parallel_Programming_Library

Olá pessoal!

Olá pessoal! Estou disponibilizando um novo vídeo. Nele estou mostrando como criar uma lista com retângulos e utilizar efeitos do Firemonkey! Em breve estarei disponibilizando mais um vídeo, dando continuidade às aulas de Object Pascal com Multicamadas. Por favor, deixem lá seus comentários e compartilhem se gostarem. Abraços e fiquem com Deus! https://youtu.be/dxTtvLYu5iQ https://youtu.be/dxTtvLYu5iQ
Happy birthday David Millington​!!

Hi all

Hi all, in this code: https://gist.github.com/jkour/4263ddf4cb97ae3b40b548593f992dfa shouldn't I be able to get the value of i while the thread is running? Shouldn't the Thread wait for the completion before freeing the object? Thanks a lot for any input. https://gist.github.com/jkour/4263ddf4cb97ae3b40b548593f992dfa

I've just put up a page with some example C++ OTA code which I'll blog about in the next few days.

I've just put up a page with some example C++ OTA code which I'll blog about in the next few days. http://www.davidghoyle.co.uk/WordPress/?p=1477 http://www.davidghoyle.co.uk/WordPress/?p=1477

Big update for Free ErrorSoft Vcl Components!

Image
Big update for Free ErrorSoft Vcl Components! Download link: https://github.com/errorcalc/FreeEsVclComponents What's new: * Three new components: TEsRegexEdit, TEsRegexButtonedEdit, TEsRegexLabeledEdit. * Rename some packages. * Global refactoring. * Util for convert dfm files. (Need only for Delphi XE2-XE5) TEsRegexEdit, TEsRegexButtonedEdit, TEsRegexLabeledEdit – This is input components, with validation uses RegEx. Components can indicate state uses background color. Colors automatically changes for active theme. You can open «Samples\RegexEdit\RegExTest.dpr» for test this components. FreeEsVCLComponents - Free ErrorSoft Vcl Components - a free, opensource library of VCL components for Delphi and C++Builder. This new controls and components to improve the appearance applications and to better user experience. Components has best support transparency, not flicker, and has support Interesting possibility for double buffering for TGraphicControl heirs. Components support visual sty...

40,000 lines of code generated to draw this beautiful image on my Android Nexus 6P (Thanks to Rami James, source https://www.sketchappsources.com/free-source/1819-flowers-wreath-vector-sketch-freebie-resource.html).

Image
40,000 lines of code generated to draw this beautiful image on my Android Nexus 6P (Thanks to Rami James, source https://www.sketchappsources.com/free-source/1819-flowers-wreath-vector-sketch-freebie-resource.html ). You can download Delphi code from our website ( www.applyingcode.com ), the code will run on iOS, macOS and Android ;)

Hey guys

Hey guys, TMapView on Android query... Anyone has a solution to figure out screen coordinates to lat long ? I need a function on which I will supply the map component's X,Y pixel point and it returns the LatLong for that pixel.

Hello

Image
Hello, I'm working on a TGraphicControl that supports a parent relationship. With RegisterSprigType I can handle the Drag&Drop in the structure view I had to use RegisterComponentGuideLines to avoid a call to Parent.GetClientOrigin for a component that do not have a TWinControl Parent. Now I have to fix two things, when I click on GraphicPanel2 inside GraphicPanel1 (on the form, not in the treeview) GraphicPanel1 is selected... And the blue points are not relative to GraphicPanel2's parent... Any idea ? Thanks

Hi all!

Hi all! I made the Delphi ORM Generator in Windows Store! This building from Delphi 10.1 Berlin! Enjoy! https://www.microsoft.com/zh-tw/store/p/delphi-orm-generator/9nblggh413xv#

I've updated https://wiert.me/2016/11/28/delphi-f12-debug-hotkey-for-windows-8-1-and-10-andys-blog-and-tools/ with a registry file and instructions to get it installed in Delphi 2006 .. Seattle.

I've updated https://wiert.me/2016/11/28/delphi-f12-debug-hotkey-for-windows-8-1-and-10-andys-blog-and-tools/ with a registry file and instructions to get it installed in Delphi 2006 .. Seattle. https://wiert.me/2016/11/28/delphi-f12-debug-hotkey-for-windows-8-1-and-10-andys-blog-and-tools

uses System.Generics.Collections;

uses System.Generics.Collections; TFoo = array of Integer; TBar = class(TList ); Note that I have defined more than 1000 Integer constants (ActionIDs) and want to partition the whole set into groups or categories, in different fashions. I experimented a little and came up with something that compiles. It is convenient to edit the groups in the code editor where the design work happens. But it does not work at runtime. I cannot retrieve the Integer values as expected from the List. Why? Debugging is difficult. So please explain. Code: program IntGroupTest; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, System.Classes, System.Generics.Collections; type TActionGroup = array of Integer; TActionGroupList = class(TList ) public constructor Create; end; const Action1 = 1; Action2 = 2; Action3 = 3; Action4 = 4; Action5 = 5; Action6 = 6; ActionGroup1: TActionGroup = [ Action1, Action2, Action3 ]; ActionGroup2: TActionGroup = [ Action4 ]...