Visit site Zarko Gajic

February 2017

0
votes
Vote UpVote

Making the Glyph Property High DPI Aware for TBitBtn and TSpeedButton

Zarko Gajic – Finally, last step in making my (/your) Delphi application not only high-dpi aware but also high dpi button-glyph-display-size-as-expected-ware. In my last post I’ve shared how to programmatically upsize images in TImageList so that menus, popups, toolbars and other controls using image lists ...
Details Favorite? Off-Topic? zarkogajic @ 2017-02-24 16:06
1
vote
Vote UpVote

Resizing TImageList Bitmaps to Fit High-DPI Scaling Size (for Menus, Toolbars, Trees, etc.)

Zarko Gajic – So, you’ve made your Delphi application high-DPI aware and after a few manual fixes the UI looks more or less usable on 4K displays having logical DPI values set to more than 100% (96 DPI). However, you open up the application’s main menu (or any popup menu) set to display images from an image ...
Details Favorite? Off-Topic? zarkogajic @ 2017-02-17 17:06
2
votes
Vote UpVote

Delphi High-DPI Road: Ensuring Your UI Looks Correctly for TImage, TColorBox, Owner Drawn TComboBox , TStatusBar and some more

Zarko Gajic – So you want to go down the high-DPI road? Feeling alone? I did The classical answer “it works on my machine” will not be sufficient here. Your non high-dpi aware Delphi application might look nice on your development machine, but it certainly looks super small or ugly stretched on your client’s ...
Details Favorite? Off-Topic? zarkogajic @ 2017-02-13 18:06
2
votes
Vote UpVote

Writing and Enabling Delphi Application to Support High DPI Displays and 4K Screen Resolutions

Zarko Gajic – Woohoo! After a few weeks of struggle I’ve finally high-dpi enabled my used-across-the-globe Delphi application. It was not a too hard job – it just took a lot of time and experimenting (read: fixing) how the UI of the application appears on various 4K displays having various settings for “Make ...
Details Favorite? Off-Topic? zarkogajic @ 2017-02-09 18:05

September 2016

1
vote
Vote UpVote

Fun: Delphi Does Bohemian Rhapsody

Zarko Gajic – Who said programming is not fun? How about your favorite programming language doing (a part of) Queen’s Bohemian Rhapsody? Here goes: program BohemianRhapsody; {$APPTYPE CONSOLE} uses System.SysUtils, System.Generics.Collections; type ELandSlideException = Exception; TSex = (Male, ...
Details Favorite? Off-Topic? zarkogajic @ 2016-09-02 12:14

August 2016

0
votes
Vote UpVote

Quick Tip: Is a Drive Hidden From Windows Explorer (Using NoDrives Registry Entry)

Zarko Gajic – The “NoDrives” Registry entry allows to hide a drive (/drives) you do not want to get displayed by Windows Explorer and/or from the standard Open Dialog box. Here’s how to programmatically check if a drive is hidden using Delphi. Say you have a mapped network drive that points to your encrypted ...
Details Favorite? Off-Topic? zarkogajic @ 2016-08-18 12:11

April 2016

2
votes
Vote UpVote

Quick Tip: Implement Zoom In Virtual TreeView Using CTRL + / CTRL –

Zarko Gajic – Most Windows applications I use in my daily work (email clients, browsers, text editors) have a handy feature allowing to make the text larger by increasing (or smaller by decreasing) the font size. Increasing the text size in a web browser is something I got accustomed to doing frequently – to ...
Details Favorite? Off-Topic? zarkogajic @ 2016-04-29 14:46

September 2015

2
votes
Vote UpVote

Time Out a Message Dialog – Auto Close a Dialog Window After Some Time / Seconds

Zarko Gajic – Users do not read dialogs. They. Do. Not. Neither do we developers (admit it). Dialogs are scary things that pop to the user asking to make some kind of selection / decision. Users mostly simply click the little [x] button and hope no further questions would be raised. Regression: do you know what ...
Details Favorite? Off-Topic? zarkogajic @ 2015-09-30 16:47

April 2015

3
votes
Vote UpVote

Speed Up Your Delphi Database Apps Using Remote SQL

Zarko Gajic – I recently came across a new product in the Delphi world called RemoteSQL. I use and see a lot of Delphi components in my day to day work, but this one caught my eye because it deals with one of my (/everyone’s) pet peeves – speed. RemoteSQL is an additional client-server application tier that ...
Details Favorite? Off-Topic? zarkogajic @ 2015-04-17 16:34

March 2015

2
votes
Vote UpVote

64-bit Delphi Applications Using TWebBroswer to Display PDF Documents – Go or No-Go?

Zarko Gajic – I have an application using TWebBrowser component to allow viewing of Adobe PDF documents within the application. This approach is really pretty simple: when a user of the application has Adobe Reader (/Acrobat) installed, by default any PDF documents will get open inside Internet Explorer (and ...
Details Favorite? Off-Topic? zarkogajic @ 2015-03-12 11:51

November 2014

2
votes
Vote UpVote

Displaying Long Non-Breakable Text (File Path) In MessageDlg – Truncation/Ellipsis Issues

Zarko Gajic – Introduced way back in Delphi 2009 the TTaskDialog (defined in Dialogs.pas) implements task dialogs. Task dialogs first appeared in Windows Vista and are used in later Windows versions. In essence, a task dialog is similar to, while much more flexible and parameter-rich than the standard message ...
Details Favorite? Off-Topic? zarkogajic @ 2014-11-07 17:04

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
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)