HyperLinks in RTF

by Radek Červinka 4. May 2012 23:57

For my program I need hyperlinks in TRichEdit with hidden address part - emulate simple web address. For example something like Delphi, you see text but link is different (someone call this user friendly hyperlinks). When user click on link, I catch this action and do something other.

More...

Tags:

Components

Fix for TRibbon and VCL styles

by Radek Červinka 1. December 2011 00:06

If you use VCL styles from Delphi XE2 and TRibbon control (or maybe Glass window on Vista +) you can see some drawing problems. But there is a way to modify how can VCL draw element and you can use this.

More...

Tags: ,

How to

Delphi XE2 - some informations

by Radek Červinka 10. September 2011 21:25

Some informations about Delphi XE2.

Delphi XE2 brings 64bit compilation. Switch of platform is simple done in Project Manager.

Project Manager

IDE of Delphi XE2 is still 32bit and this means, that you can compile 64bit Delphi app in 32bit Windows, but for running you need 64bit. But you can debug this app remotely for 64bit PC, because every 64bit debugging (including local debugging) is done as "remote" (when debug local 64bit process, there is 64bit helper process and IDE communicate with this).

BTW: this means that every design package must be 32bit (including 64bit components) - because of 32bit IDE.

More...

Tags: , , ,

Delphi news

FireMonkey introduction

by Radek Červinka 10. September 2011 00:38

FireMonkey is a new multi-platform Delphi component library from Delphi XE2. It's VCL alternative. VCL will be still improved and maintained in future, but is fixed to Windows only. FireMonkey exists for Windows, Mac OSX and iOS, Linux and Android will be added in future (with other mobile platforms).

Unlike CLX (QT based), is FireMonkey created in Object Pascal (based on KSDEV) and use GPU hardware - on Windows Direct2D or GDI+, on MAC OpenGL (for Linux maybe too), for iOS OpenGL_ES (for Android in future probably too).

All is "CustomDraw" and Windows management operations (or mouse and so on) are handled with Platform instance and passed to OS. So about 90% of source code is OS independed.

More...

Tags: ,

Dual FileView extension 0.7.2

by Radek Červinka 20. July 2011 00:18

New version of my Delphi add-in is done. Now user can select another file than selected in editor and can be done from disc or from files in project. This for example help when look on headers when converting, or refactoring old code.

See this version in action on video. For more information visit runbits.com.

More...

Tags: , ,

Some tips for Delphi debugger - part 3

by Radek Červinka 11. July 2011 23:44

Next part of Delphi debugger tips. Today about modules, data breakpoints, thread breakpoint and so on.More...

Tags: ,

Practices

Dual FileView

by Radek Červinka 2. June 2011 22:57

Dual FileView

Current version

Dual FileView is Delphi expert (eg. extension) for Delphi IDE and I wrote it with Open Tools API.

The goal was to create something like in Excel or VS (split view), eg. look at two positions in one file.More...

Tags: ,

Delphi extensions

Font.Quality in Delphi XE

by Radek Červinka 21. April 2011 21:44

Very interesting property in Delphi XE - Font.Quality. More...

Tags: , ,

Delphi news

TEncoding

by Radek Červinka 3. April 2011 00:04

Unicode is today standard. Before unicode many programmers needs transform from one codepage to another codepage (sometimes in unicode too).

Very good tool was synapse (there is synacode unit). But in Delphi 2010 (finally) there is native transcoding support in RTL (and I can say good implemented). More...

Tags: ,

How to

FastMM4 and detection of memory corruption

by Radek Červinka 15. February 2011 22:17

FastMM can be used for detect of memory corruption. As first step please enable FullDebugMode in fastmm .inc file (there is line for this). More...

Tags: ,

Practices

Export to XLS without Excel from Delphi

by Radek Červinka 14. February 2011 21:42

Usually for export to XLS is used Excel through automation, but I'm looking for an alternative solution without Excel (CSV is not good alternative and primary target is OpenOffice). And I finally found both commercial and OSS solutions. More...

Tags: ,

Components

Remote debugging in Delphi

by Radek Červinka 1. February 2011 23:24

Sometimes is good to debug directly on the client computer, because the development computer does not have the problem. Of course, in such cases is not appropriate (and often not even possible) to install Delphi on the client computer and for this cases Delphi offer the possibility of remote debugging. How to do?More...

Tags: , , ,

Practices

Some tips for Delphi debugger - part 2

by Radek Červinka 29. January 2011 00:28

In last part of debugger's tips I showed some nice Delphi debugger tricks, so let's continue.More...

Tags: , , , , ,

Practices

OOP file access in Delphi 2010

by Radek Červinka 20. January 2011 21:59

Starting with Delphi 2010 there are some new classes for file access .

In unit IOUtils there are this classes (in fact this is extended records and not classes - Delphi from about version 2006 allow methods on records):

  • TDirectory
  • TPath
  • TFile

This object model is similar to .NET.More...

Tags: ,

Review

Logging with CodeSite 4

by Radek Červinka 28. December 2010 01:37

Delphi XE including Express version of CodeSite tool.

CodeSite is good tool for logging working on the basis of client - server. During compilation is included client communication code. Communication is performed by sending messages WmCopyData (standard) or with TPC/IP (only full version, but to remote computers too). More...

Tags: , ,

Tools