Posts

Ctrl+Shift+F: In XE2, this is labeled as "Search -> Find in Files".

Ctrl+Shift+F: In XE2, this is labeled as "Search -> Find in Files". However, it doesn't do this function; instead, the IDE wants you to highlight, in source, the name of a visual-component and it will automatically flip to "Design-Mode" and highlight the component.  Pretty useful, but not as described. I'd rather do the "Search -> Find in Files" instead.  Was this behavior fixed in later versions of Delphi? http://www.youtube.com/watch?v=EJ9aJtpz5-I

New blog post on Subspace Cables: "Party like it's 1999".

New blog post on Subspace Cables: "Party like it's 1999". http://subspacecables.com/blog/2014/3/31/party-like-its-1999

Why text-fields expand when we use 'union' in a query?

Image
Why text-fields expand when we use 'union' in a query? can we keep them non-expandable even when we use 'union'??
Seeking some help - how can I embed an mp4 video into a Firemonkey app? I have included one in the project file and thought that would be sufficient but when I set the filename in a TMediaPlayer control and call the Play method I get 'file not found' ... Thanks !!

Talking about the pain when using generics in Delphi. :)

Talking about the pain when using generics in Delphi. :) http://delphisorcery.blogspot.com/2014/03/why-delphi-generics-are-annoying.html

Funny how they just did a global replace for "Delphi" with "Object Pascal". Does anyone remember Del... errrmm Object Pascal.Net?

Funny how they just did a global replace for "Delphi" with "Object Pascal". Does anyone remember Del... errrmm Object Pascal.Net? http://docwiki.appmethod.com/appmethod/1.13/topics/en/Conditional_compilation_(Object_Pascal)#Predefined_Conditionals

I wish we could use TypeInfo(T) in compiler directives inside of generics...

I wish we could use TypeInfo(T) in compiler directives inside of generics... Like {$IF TypeInfo(T).Kind = tkInterface}   some interface specific source {$ELSEIF TypeInfo(T).Kind = tkClass}   some objects specific source {$ELSE}   everything else {$IFEND} That way we could at least achieve some kind of folding without that insane code duplication that comes with the use of generics. Btw #Spring4D 1.0 will have a switch to enable folding for lists that contain objects or interfaces to achieve something that is similar to what the C# compiler does with generics for reference types.

Just released; thanks DelphiHaven for mentioning it.

Just released; thanks DelphiHaven for mentioning it. XE5 hotfix 6 is out for fixing an incompatibility with iOS SDK 7.1 and Xcode 5.1 http://www.delphifeeds.com/go/s/114319 http://www.delphifeeds.com/go/s/114319
Has anyone worked with SyncML and Delphi? is any open source component available?

Anyone knows how instruct to the Delphi IDE refresh the modified syntax highlight colors using OTA (Open Tools API)? the details are here http://stackoverflow.com/questions/9914559/how-instruct-to-the-delphi-ide-refresh-the-modified-syntax-highlight-colors-usin

Anyone knows how instruct to the Delphi IDE refresh the modified syntax highlight colors using OTA (Open Tools API)? the details are here http://stackoverflow.com/questions/9914559/how-instruct-to-the-delphi-ide-refresh-the-modified-syntax-highlight-colors-usin http://stackoverflow.com/questions/9914559/how-instruct-to-the-delphi-ide-refresh-the-modified-syntax-highlight-colors-usin
use the Unit IdHashMessageDigest to create Hash file!

Does anybody know what's going on with Devrace (fibplus)?

Does anybody know what's going on with Devrace (fibplus)? There is no xe5 support until now😕. I have to manage a big application and these is not funny!

Hey, Pascal

Hey, Pascal http://www.slashgear.com/nvidia-pascal-next-gen-gpu-platform-revealed-25322021
Exist an easy (or complicated) way to export all my IDE settings (like code templates, color settings, formatter, etc...) and import it to another Delphi XE installation on my laptop?

Anyone here successfully using XCode 5.1? Although I have the PAServer running and my dev machine does a test connection ok, trying to deploy an app fails with "wrapper init failed (null)". According to this page -> http://qc.embarcadero.com/wc/qcmain.aspx/qcmain.aspx?d=123133 <- it would appear this is an incompatibility with XCode 5.1. I am presently downloading 5.02 from https://developer.apple.com/downloads/index.action to see if that does the trick.

Anyone here successfully using XCode 5.1? Although I have the PAServer running and my dev machine does a test connection ok, trying to deploy an app fails with "wrapper init failed (null)". According to this page -> http://qc.embarcadero.com/wc/qcmain.aspx/qcmain.aspx?d=123133   https://developer.apple.com/downloads/index.action to see if that does the trick. http://qc.embarcadero.com/wc/qcmain.aspx/qcmain.aspx?d=123133

No "Welcome Page".

No "Welcome Page". I can't seem to locate the correct parameter for turning this off, when I'm specifying a Group-Project at the command-line. Specifically, when I use the "-np" option; the "Welcome Page" doesn't load, but neither does my project.  There seems to be some conflict with what this does? In reality, "-np" is No-Project && No-Welcome-Page... StackOverflow says "-np" == "No Project" http://stackoverflow.com/questions/2344394/how-to-automatically-load-a-project-when-starting-delphi EmbT says "-np" == "No Welcome Page" http://docwiki.embarcadero.com/RADStudio/XE5/en/IDE_Command_Line_Switches_and_Options Q: How do you load a project and the IDE with a single-click AND don't have a "Welcome Page". I'm trying to get rid of the "Welcome Page" as it takes about 60 seconds of "Application Not Responding" before it comes back. Which annoys me. htt...

No "Welcome Page". I can't seem to locate the correct parameter for turning this off, when I'm specifying a Group-Project at the command-line.

No "Welcome Page". I can't seem to locate the correct parameter for turning this off, when I'm specifying a Group-Project at the command-line. Specifically, when I use the "-np" option; the "Welcome Page" doesn't load, but neither does my project.  There seems to be some conflict with what this does? In reality, "-np" is No-Project && No-Welcome-Page... StackOverflow says "-np" == "No Project" http://stackoverflow.com/questions/2344394/how-to-automatically-load-a-project-when-starting-delphi EmbT says "-np" == "No Welcome Page" http://docwiki.embarcadero.com/RADStudio/XE5/en/IDE_Command_Line_Switches_and_Options Q: How do you load a project and the IDE with a single-click AND don't have a "Welcome Page". I'm trying to get rid of the "Welcome Page" as it takes about 60 seconds of "Application Not Responding" before it comes back. Which annoys me. htt...
Is there a way to get bigger TEdit on Android where Edit Custom style does not work?

How to declare type for a class procedure?

How to declare type for a class procedure? type   TTest = class     procedure Proc1;     class procedure Proc2;     class procedure Proc3; static;   end;   TProc1 = procedure of object;   TProc2 = ???;   TProc3 = ???;

Happens not often that I disagree with Uncle Bob :)

Happens not often that I disagree with Uncle Bob :) http://delphisorcery.blogspot.com/2014/03/sorry-uncle-bob-but-no.html

Hello!

Hello! So, I understand the concept of having interfaces only in your programs and I even quite agree with it. I agree with the testability of things. However, one thing is to understand and agree to the concept and another thing is applying the technique. That's where I am stuck. I don't know if I am just too used to classes, that may well be, but I need a bit of help. So these are my details. I have an interface: IContact = interface   ['{79D205DC-FC0E-45F0-A388-56CBBFBF204A}']     procedure SetFirstName(const Value: string);     function GetFirstName: string;     procedure SetLastName(const Value: string);     function GetLastName: string;     procedure SetBirthDate(const Value: TDateTime);     function GetBirthDate: TDateTime;     property BirthDate: TDateTime read GetBirthDate write SetBirthDate;     property FirstName: string read GetFirstName write SetFirstName;     property LastName: string read GetLastName write SetLastName;   end; Now I have a new class (I wil...

Newbie XE5 question here (though long-time Delphi developer, from 1996 through 2001): I'm finding the editor really frustrating how you can click past the end of the line, and how the left and right arrow keys don't move you forward and backward lines when at the end/front of a line (eg position cursor at front of line, press left, would like to be at end of line above.)

Newbie XE5 question here (though long-time Delphi developer, from 1996 through 2001): I'm finding the editor really frustrating how you can click past the end of the line, and how the left and right arrow keys don't move you forward and backward lines when at the end/front of a line (eg position cursor at front of line, press left, would like to be at end of line above.) Surely this is a setting somewhere? I really don't recall if it was this way when I used to use Delphi 13 years ago or if I have just become accustomed to Visual Studio. I have looked through Tools/Options but can't find a relevant setting. Any suggestions? Thanks !

Well, I'm not making a virus though!!

Image
Well, I'm not making a virus though!!

Simple question:

Simple question: What is the best way to loop a dataset? for u:=0 to Ds.RecordCount-1 do begin          Ds.RecNo := u;          ... do stuff end; or ds.first: while not ds.eof do begin      //stuff     ds.next; end; I use the last one but i've seen tests in wich the first is faster... should it be?

Originally shared by marc hoffman

Originally shared by marc hoffman RemObjects C# is proudly sponsoring this week's episode of the super-awesome Accidental Tech Podcast.

Hi group

Hi group, Is there any version of RemObject SDK which can be used with Delphi XE 5.

Appmethod has launched.

Appmethod has launched. The customary 30 day trial version is available. Pricing has a few WTF points for those that want to have something enterprise internal. http://www.appmethod.com/pricing There is a wiki http://docwiki.appmethod.com/appmethod/1.13/topics/en/Main_Page and links to more stuff at the bottom of the web page linked in this post. The new community forums at  http://community.embarcadero.com/ accepts your oldschool forums username and pwd. http://www.appmethod.com/?cid=701G0000000tPUt&elq=b8390ce79b9f41c3b59c541b3530259b&elqCampaignId=1320
How to acces google calendar with my android app developed in delphi xe5?

I know that there is the String helper of .ToLower(), so could someone please explain to me the point to the String helper LowerCase() (http://docwiki.embarcadero.com/Libraries/XE5/en/System.SysUtils.TStringHelper.LowerCase), when it doesn't look at the string it is meant (IMO) be helping...

I know that there is the String helper of .ToLower(), so could someone please explain to me the point to the String helper LowerCase( ) ( http://docwiki.embarcadero.com/Libraries/XE5/en/System.SysUtils.TStringHelper.LowerCase ), when it doesn't look at the string it is meant (IMO) be helping... Example: Writeln('Nothing'.LowerCase('HELLO')); -> hello

Anyone Opera web browser fans here? Opera until version 15 used to have IRC client. Since new versions of Opera no longer haves IRC client, would anyone be interested in teaming up creating Opera-Like IRC client?

Image
Anyone Opera web browser fans here? Opera until version 15 used to have IRC client. Since new versions of Opera no longer haves IRC client, would anyone be interested in teaming up creating Opera-Like IRC client?