Posts

For those of you have different editions of Delphi installed I am interested in how you arrange your projects for the different editions. The use case is where one has a production project developed in one version of Delphi (XE6 in this case) but would like to transition the project to a new verison of delphi but in the interim one needs to maintain the old version. eg do you have a completely different Embarcardero folder for each Delphi edition (probably not)? I've searched around but its not something I've seen discussed.

For those of you have different editions of Delphi installed I am interested in how you arrange your projects for the different editions. The use case is where one has a production project developed in one version of Delphi (XE6 in this case) but would like to transition the project to a new verison of delphi but in the interim one needs to maintain the old version. eg do you have a completely different Embarcardero folder for each Delphi edition (probably not)? I've searched around but its not something I've seen discussed.

Last month my 27 yr old kid tells me "Pops, you need an app. My generation doesn't want to download anything to a computer, they want it on their phone."

Last month my 27 yr old kid tells me "Pops, you need an app. My generation doesn't want to download anything to a computer, they want it on their phone." So, today I create my first Android "Hello World" app. I show it to my kid. He says, "That's all you got. Guess you gotta start some where!" #FireMonkey #Android

Using Styled and Colored Buttons on Target Platforms - RAD Studio

SpeedButton.StyleLookup I'm on page 55 of Expert Delphi and it talks about changing the StyleLookup property of the speed button. The instructions say to select the drawertoolbutton style from list. Unfortunately, that option does not exist for me. I'm running Delphi 10 (Seattle). I've tried looking around on EMBT's docwiki and it's not listed there either. http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Using_Styled_and_Colored_Buttons_on_Target_Platforms I know that Expert Delphi was written using Delphi 10.2 (Tokyo) . When was the drawertoolbutton style made available? TIA http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Using_Styled_and_Colored_Buttons_on_Target_Platforms

Building for iOS Application Store

Building for iOS Application Store Hi I've just installed 10.2.2 on my main development machine, then upgraded my Mac to High Sierra and Xcode 9.2. I also uninstalled Xcode 8.2.1 as I thought it wouldn't be required any more. I had to reinstall my application store provisioning profile to get it to build but I ran into the old error of: "[PAClient Error] Error: E0776 xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH" This makes it looks like 10.2.2. hasn't been updated to use Xcode 9? I would have hoped this would have all worked out of the box now. Anyone else seen this? Cheers Vince
Hello! I am available here in Brazil, for Delphi projects. Thanks!

Simple question: I have to update a TRectangle fill color into a loop, it only works if I set Application.

Simple question: I have to update a TRectangle fill color into a loop, it only works if I set Application.ProcessMessages, is there any kosher way to do that? I tried BeginScene and other tricks but I was unable so far, maybe I am doing the wrong way. Code should run in FMX for both Windows and Android.
Simple question: I have to update a TRectangle fill color into a loop, it only works if I set Application.ProcessMessages, is there any kosher way to do that? I tried BeginScene and other tricks but I was unable so far, maybe I am doing the wrong way. Code should run in FMX for both Windows and Android.

I'm trying to find Delphi wrapper for Microsoft's Cryptography API: Next Generation (https://msdn.microsoft.com/en-us/library/windows/desktop/aa375276(v=vs.85).aspx) - that is for BCrypt* functions and not Crypt* functions.

I'm trying to find Delphi wrapper for Microsoft's Cryptography API: Next Generation ( https://msdn.microsoft.com/en-us/library/windows/desktop/aa375276(v=vs.85).aspx ) - that is for BCrypt* functions and not Crypt* functions. Anybody knows if that exists? [I'm feeling lazy press] [[actually I did tried searching but found nothing]] [[[I just don't want to write it from scratch]]]
Hi guys! Does anybody have example of how to use the TDockTabSet (VCL) component to make advanced docking user interfaces? :-) I find example. Thank you.

Do we have anything new since 2007 in delphi, i mean a ready to use function to get the associated icon for a file-suffix?

Do we have anything new since 2007 in delphi, i mean a ready to use function to get the associated icon for a file-suffix? In past we have used SHGetFileInfo with (SHGFI_ICON or SHGFI_LARGEICON)

Special New Year's offer from KSDev - $100 off for FmxLinux Personal License and $150 off for FmxLinux + DelphiStyles All Styles till end of January. Start building UI Linux apps with Embarcadero Delphi and FmxLinux.

Image
Special New Year's offer from KSDev - $100 off for FmxLinux Personal License and $150 off for FmxLinux + DelphiStyles All Styles till end of January. Start building UI Linux apps with Embarcadero Delphi and FmxLinux. More Info at http://www.fmxlinux.com

Hi guys

Hi guys, can you please help me, how to add watermarking in msword using comobj.

Would anybody share their refactoring tips, what worked and what didn’t?

Would anybody share their refactoring tips, what worked and what didn’t? I'm dealing with my code that I started developing 15 years ago, with learning Delphi as I came across a problem. As self-employed, the focus was on sell-able features not on manageable code. So, combination of developing as fast as possible and being a beginner, I still have a lot of global variables, no classes, lots of boiler-plate code and other beginners mistakes. In past few years I'm refactoring and making code easier to manage. Now I have multiple common units: GlobalSettings, GlobalVars, Utils, Utils2, CommonCode... and spend quite some time tracking down the appropriate methods, either is (‘X’ is just example) GetXName, GetXNo, GetXID, GetXSeqID, GetXName, GetXNameFromID, GetXIDFromName... and 100s of other similar names all working on different ‘X’ arrays. The old style of coding was awful, but one benefit was that almost every single feature was in just a few long methods. So, I just had to bro...

I'm just looking for confirmation of my realization that CONST/VAR is useful also for TArray method parameters (not just strings) - before I start changing all my TArray parameters to include CONST or VAR (if changes are needed).

Image
I'm just looking for confirmation of my realization that CONST/VAR is useful also for TArray method parameters (not just strings) - before I start changing all my TArray parameters to include CONST or VAR (if changes are needed). To some extent, I understand the difference between array of T and TArray . And I thought that changing from open array parameters to TArray , is a benefit on it's own. Since TArray is a pointer, and array of T actually copies copies the values to parameter. But looking into CPU code, there is a big difference between TArray parameters, non-const, var and const: This code: TCarBrand = record Id: integer; BrandName: string; BrandStr: string; end; var Form2: TForm2; gVal: integer; myArray: TArray ; implementation {$R *.dfm} procedure Test1(aArray: TArray ); begin// Test1 gVal := aArray[1].Id;// Test1 end;// Test1 procedure Test2(var aArray: TArray ); begin// Test2 gVal := aArray[1].Id; // Test2 end;// Test2 procedure Test3(con...
Hi. Please add the community category "Delphi FMX Desktop / Windows". Thank you!

Hi dudes.

Image
Hi dudes. I'm not familiar with Firemokey, so I've got a problem in a very simple example with a grid and a centered rectangle on that: it works only in design time. The two pictures below show the project in design time and run time. As you can see, the green rectangle desapears in run time, but I want to show it. The source code of the example can be downloaded from my drive: https://drive.google.com/file/d/1HmEz79AOV4_yugxHnJwNJDibOjpye3Mg/view?usp=sharing . So, what am I doing wrong? Thank you!

Do you want to produce DPI aware Vcl applications and use Vcl Styles? You are out of luck. Vcl Styles are unusable in High-DPI settings. I suspect Embarcadero is preparing something in this area, but in the meantime you can try using this unit. https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas. Instructions for use are at the header of the file.

Do you want to produce DPI aware Vcl applications and use Vcl Styles? You are out of luck. Vcl Styles are unusable in High-DPI settings. I suspect Embarcadero is preparing something in this area, but in the meantime you can try using this unit. https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas . Instructions for use are at the header of the file. https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas

I must be missing some but I cannot put SynEdit controls on a C++ Builder form (in a C++ Project), they are just not...

I must be missing some but I cannot put SynEdit controls on a C++ Builder form (in a C++ Project), they are just not available from the palette yet they are available for a Delphi Form (in a Delphi Project). Are these components somehow built to be Delphi only?

I must be missing some but I cannot put SynEdit controls on a C++ Builder form (in a C++ Project), they are just not available from the palette yet they are available for a Delphi Form (in a Delphi Project).

I must be missing some but I cannot put SynEdit controls on a C++ Builder form (in a C++ Project), they are just not available from the palette yet they are available for a Delphi Form (in a Delphi Project). Are these components somehow built to be Delphi only?

We're looking for a profiler for Toyko 10.2, Win32. We just need line and procedure level timing.

We're looking for a profiler for Toyko 10.2, Win32. We just need line and procedure level timing. I've used AQTime in the past, but the price is pretty steep and we'd be buying a lot of functionality we don't need. Does anyone have any feedback on other profiling tools for Toyko?

As far as I can tell (and documentation on that is reaaaaaaly hard to find), dcc64 can link in .obj files in OMF and COFF format.

As far as I can tell (and documentation on that is reaaaaaaly hard to find), dcc64 can link in .obj files in OMF and COFF format. Bcc64 uses LLVM chain and therefore produces ELF .o files. Does that mean that I can't use bcc64 to create an object file that is linkable with dcc64? Or am I missing something (maybe bcc64 can produce OMF and I only don't missed the switch to turn that on)?

Expert Delphi

https://www.packtpub.com/application-development/expert-delphi
Originally shared by Ondrej Kelle

Law of the Instrument and Curse of the Programmer

https://community.embarcadero.com/blogs/entry/law-of-the-instrument-and-curse-of-the-programmer
I used the web installer to install Rad Studio at work, and the Feature installer is on the Tools menu. I used the ISO to install at home (Windows 10). But the Feature installer is NOT on the tools menu. Does anyone know how to make it show up?
Wait, so TeeCharts not included in Delphi 10.2.2? I mean, it looks like it's there, but the components aren't registered? I re-installed and they're still missing (2004). Do we have to install the bpls ourselves?

Hi All

Hi All, A client of mine is looking for an Australian Delphi contractor with experience with DevExpress Grids. The role is based near Brisbane in Australia. Must have experience • Experience with Delphi XE or greater • Delphi DevExpress grids • Git Nice to have experience • Firebird DB • C# https://www.seek.com.au/job/35217088?type=standard&userqueryid=09d108032cb7203f1898bbfac8c2a458-8890050 They have a series of contracts available, ranging from a few weeks to a few months. https://www.seek.com.au/job/35217088?type=standard&userqueryid=09d108032cb7203f1898bbfac8c2a458-8890050

What does everyone think of the native THTTPClient (introduced in XE8 I think) versus the ICS components from Francois Piette.

What does everyone think of the native THTTPClient (introduced in XE8 I think) versus the ICS components from Francois Piette. I've been getting a random weird 3 to 9 second stall occasionally using the ICS component when doing a simple GET to a local HTTPS/SSL server. I tried switching to the native THTTPClient and never get any stall at all, and the typical fetch is about twice as fast. It's also nice that I don't need to bundle the OpenSSL dlls with my app. Are there any gotcha's in using the THTTPClient that I may not be aware of. I've been using ICS for years and never had any issues until today. And to be fair, my stall may not be caused by ICS at all, it could be in my code; but I did solve it by switching away from ICS.

The new FMX document viewer demos have just been released. Please try them out.

The new FMX document viewer demos have just been released. Please try them out. https://www.gnostice.com/downloads/xdoc_delphi_documentviewer_demos.zip Originally shared by Gnostice.com We just released new EXE demos of the FMX Document Viewer for Windows. This is a preview before the main release. In this release we worked on the redesign of the page painting/rendering code. We wanted to achieve the following on all devices: 1. Fluid scrolling and zooming without holdups due to rendering/painting. 2. Incremental painting and update of pages in view. Useful when rendering heavy pages. 3. Intermediate views based on previous image before painting at current zoom level. 4. Limitless zoom level. 5. Minimal use of memory and CPU resources. This involved designing and implementing code in various areas - background rendering threads and new logic for all the above explained goals. We happened to redesign it several times before arriving at the current version, which is very close to final. ...

I was wondering about something I can't try for myself (using Berlin and there is just NO WAY I'm going to install a Tokyo Trial on my computer): say you have an old MIDAS application, the one where you could choose between a socket connection, DCOM, etc.

I was wondering about something I can't try for myself (using Berlin and there is just NO WAY I'm going to install a Tokyo Trial on my computer): say you have an old MIDAS application, the one where you could choose between a socket connection, DCOM, etc. Given that you include MidasLib and obviously not use DCOM, would that compile for Linux? Has anybody tried that? Just curious on the outcome... A