Visit site Zarko Gajic

September 2014

1
vote
Vote UpVote

Fun: Refactoring a Complex Delphi Boolean Function

Zarko Gajic – Refactoring your own code is, what I guess, something that you do frequently – at least I am. Maybe a better description of the process I went through would be rewriting, but let’s stick with refactoring. Either the routines get too complex, or there’s an extra parameter needed or there’s some new ...
Details Favorite? Off-Topic? zarkogajic @ 2014-09-11 12:58

August 2014

5
votes
Vote UpVote

TToolBar’s TToolButton AutoSize Width Issues (With Empty Caption)

Zarko Gajic – If you are using the TToolBar control with TToolButtons in your Delphi application (are you not?, in at least one :\) with “Enable runtime themes” enabled for your project, you might have noticed you cannot easily alter the width of an individual button. What’s worst, if you are using button images ...
Details Favorite? Off-Topic? zarkogajic @ 2014-08-29 14:38

April 2014

8
votes
Vote UpVote

TLiveIni – Custom Delphi INI Implementation

Zarko Gajic – Text and code by Ron Maupin. I had to build my enhanced INI class that replaces the database. My Modula-2 version used a doubly-linked list (section) of doubly-linked lists (key/value pairs) for the INI. Delphi’s generics made this much easier, and I now use the TDictionary, although it ...
Details Favorite? Off-Topic? zarkogajic @ 2014-04-14 12:02

February 2014

3
votes
Vote UpVote

Preserving Set Type Values in INI Files (/Databases)

Zarko Gajic – A quick look at the todo list revealed: today is the day to add the following new functionality to my Delphi application: allow the user to change the visibility of some user interface elements on a one-could-say very complex form. There are several controls on the form some users could find to be ...
Details Favorite? Off-Topic? zarkogajic @ 2014-02-13 11:05

December 2013

3
votes
Vote UpVote

FireMonkey / Mobile (Android, iOS) QR Code Generation Using Delphi XE 5 / DelphiZXingQRCode

Zarko Gajic – The DelphiZXingQRCode unit, ported from ZXing by Debenu, allows to easily add QR Code generation to your Delphi VCL applications. While the DelphiZXingQRCode was designed to support VCL applications (and be used in newer as well as in older Delphi versions), it can also easily be “upgraded” for ...
Details Favorite? Off-Topic? zarkogajic @ 2013-12-27 14:42
1
vote
Vote UpVote

Generating QR Codes Using Delphi – DelphiZXingQRCode – Open Source Unit by Debenu

Zarko Gajic – A QR code (Quick Response Code) is a specific 2D barcode that gained popularity during the last years when mobile phones with cameras allowed mobile phone users to quickly scan the image and get more info on a product, business, event, offer, URL address, … If you need to include the ...
Details Favorite? Off-Topic? zarkogajic @ 2013-12-23 16:09

November 2013

5
votes
Vote UpVote

Graphical Hints – Image in Virtual Treeview Node Hint (Extending TVirtualTreeHintWindow)

Zarko Gajic – In a Delphi application, the THintWindow class implements the small pop-up window that appears over a control at run time, when the control has its ShowHint property set to True (and has a value assigned to the Hint property). The implementation of the THintWindow (at least what gets displayed by ...
Details Favorite? Off-Topic? zarkogajic @ 2013-11-06 10:52

September 2013

3
votes
Vote UpVote

Full Text TXT Search In Delphi (+FireDac +SQLite). Sample Working Project.

Zarko Gajic – Finally, the sample project for my full text search implementation in Delphi is ready. The idea involves providing a user of my application the ability to do full text (Google like) searches on a set of documents by searching inside document content. For the task, I’ve selected SQLite for the ...
Details Favorite? Off-Topic? zarkogajic @ 2013-09-16 16:25

June 2013

5
votes
Vote UpVote

SQLite: Referential Integrity With Full Text Search Virtual Tables (used in a Delphi application)

Zarko Gajic – As a second step in my goal to implement full text search functionality in my Delphi application I had to create a sample SQLite database supporting FTS queries. Full text search models in databases allow to do what Google does with web documents – quickly search for documents containing some word ...
Details Favorite? Off-Topic? zarkogajic @ 2013-06-19 17:29
1
vote
Vote UpVote

Full Text Search Functionality in Delphi Applications – Implementation Idea

Zarko Gajic – Ah … real world problems require some proof-of-concept almost-finished implementation solutions. This time I’m into figuring out what would be the best way to introduce full text search in one of my Delphi applications. “Setup” There’s a Delphi application operating on files. Files are ...
Details Favorite? Off-Topic? zarkogajic @ 2013-06-12 14:59

May 2013

2
votes
Vote UpVote

Replacing SHFileOperation With IFileOperation To Process Multiple File Operations In One Call (Delphi Code)

Zarko Gajic – Starting with Windows Vista (and Windows Server 2008) the Windows API arsenal has a new and more powerful way of performing file operations like copy, move, delete and similar file and folder shell actions. The old (but still valid) SHFileOperation function is now replaced by the IFileOperation ...
Details Favorite? Off-Topic? zarkogajic @ 2013-05-09 13:29

March 2013

4
votes
Vote UpVote

Quick Tip: Locate / ScrollIntoView Focused Node In Virtual Tree View

Zarko Gajic – I’m a huge fan of one big gem in the Delphi third party controls arena: Virtual Tree View. Whatever issue I had to solve in my applications harvesting the power of the TVirtualStringTree, the component had the answer, either through vast amount of properties or through nicely exposed events. The ...
Details Favorite? Off-Topic? zarkogajic @ 2013-03-29 15:53

February 2013

9
votes
Vote UpVote

Have Hints For Some Delphi Controls Stay Longer – Control Specific Hint Hide Timeout Values

Zarko Gajic – Ah, even after years of programming in Delphi, there’s still something new I learn every day (lucky me). Just recently I needed to have hints (help tooltips) for some buttons to stay visible longer than hints for other controls (like edits, memos and alike). Found no straight forward solution ...
Details Favorite? Off-Topic? zarkogajic @ 2013-02-19 13:42
7
votes
Vote UpVote

TProgressBar Not Updating Fast Enough?

Zarko Gajic – Do users of your Delphi application actually see the progress bar moving? The TProgressBar control provides visual feedback about the progress of some actions within your application. The Position, Max and Min properties determine the current position of the progress bar within its minimum and ...
Details Favorite? Off-Topic? zarkogajic @ 2013-02-06 13:49

January 2013

10
votes
Vote UpVote

The (Open) Case Of Dangling Pointers (Invalid Object References) In Delphi

Zarko Gajic – I guess you might not know what the term “dangling pointer” means, but if you have ever done some more complex programming in Delphi (where you do not only put controls on a form and handle a few events – rather you create and use objects at run-time) you might have experienced weird Access ...
Details Favorite? Off-Topic? zarkogajic @ 2013-01-30 15:57
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)