Visit site Zarko Gajic

September 2019

1
vote
Vote UpVote

Deleaker – Memory Leaks Hunter (Add-On for RAD Studio)

Zarko Gajic – One of the common problems we programmers face (and hopefully we are aware of) are memory leaks, or leaks of any other kind of resources. For example, Windows limit the number of GDI or USER32 objects that a process can allocate at one time. When things go down the wrong road you would want to have ...
Details Favorite? Off-Topic? zarkogajic @ 2019-09-03 16:03

July 2019

4
votes
Vote UpVote

Dim Out the Main Form of an Application When a Modal Form (/Dialog) is Displayed

Zarko Gajic – Dialog windows you use to display critical information to the user are, in most cases, displayed modally. A modal window (form) is the one where the application can’t continue to run until the modal window is closed. Delphi’s ShowMessage, InputBox and MessageDlg, for example, display a ...
Details Favorite? Off-Topic? zarkogajic @ 2019-07-11 16:05

March 2019

1
vote
Vote UpVote

Memory 3D – Full Source Code Delphi Game

Zarko Gajic – “If you want it to be playable and more interesting you need to jazz it up a bit!” That’s what’s been cooking in my head from the time I’ve finished implementing the back end for the game of Memory (Match Up, Concentration, or whatever you are used to call it). As a proof of concept, I’ve coded a ...
Details Favorite? Off-Topic? zarkogajic @ 2019-03-14 17:05

January 2019

4
votes
Vote UpVote

Run Your Delphi Application in Full Screen – Implement “F11 – Full Screen”

Zarko Gajic – I guess you know you can run your browser in full screen mode using the F11 shortcut key. Windows Explorer also supports this feature. Running in full screen, where an application UI covers the entire screen, over the TaskBar and any Desktop/Tool bars, is handy when a user has a limited screen size ...
Details Favorite? Off-Topic? zarkogajic @ 2019-01-23 13:06
1
vote
Vote UpVote

Setting MaxLength for TListView’s Edit Control (Plus: Forcing Edit Mode Using a Keyboard Shortcut)

Zarko Gajic – The TListView Delphi control displays a list of items in a fashion similar to how Windows File Explorer displays files and folders. The ReadOnly property of a List View, determines whether the user can modify the caption of an item. When ReadOnly is false, the OnEditing and OnEdited events occur ...
Details Favorite? Off-Topic? zarkogajic @ 2019-01-02 16:06

December 2018

0
votes
Vote UpVote

Coding a Game of Memory in Delphi – The User Interface

Zarko Gajic – In my previous post, Coding a Game of Memory in Delphi – OOP Model, I’ve been developing the model, aka the back end, for the Memory (Match Up, Concentration, …) game. The idea was to separate the game logic from the user interface (aka the front end). As a result a few classes were introduced: ...
Details Favorite? Off-Topic? zarkogajic @ 2018-12-21 12:06
0
votes
Vote UpVote

Coding a Game of Memory in Delphi – OOP Model

Zarko Gajic – Memory, Match Up, Concentration … there are many names for a simple card game I’m certain you’ve been playing with your friends at some point in your childhood. I’m also certain you are still playing it from time to time (at least I do with my kids). Just a few months ago, I’ve tried my “luck” ...
Details Favorite? Off-Topic? zarkogajic @ 2018-12-04 15:06

November 2018

1
vote
Vote UpVote

Delphi Interceptor Classes -> TButton = class(TButton)

Zarko Gajic – Have you ever needed for a specific Delphi control, like a TButton, to have just one more property or a method that is a “must have” for your current application? Most Delphi developers, when they need a TMySuperButton, would either look for a third-party VCL solution or would try ...
Details Favorite? Off-Topic? zarkogajic @ 2018-11-20 17:06

October 2018

1
vote
Vote UpVote

Implementing Custom Hint For Each Panel on a Status Bar

Zarko Gajic – As the Help states, The TStatusBar Delphi control displays a row of panels, usually aligned at the bottom of a form. Each panel is represented by a TStatusPanel object listed in the Panels property. Much like any other VCL control, the TStatusBar can be adopted and extended to offer greater ...
Details Favorite? Off-Topic? zarkogajic @ 2018-10-23 17:06
1
vote
Vote UpVote

Custom Hints for Each Tab in Delphi’s TTabSet or TTabControl (Plus: Hints in TStatusBar)

Zarko Gajic – Tab set controls are commonly used to display tabbed pages within a dialog box. The TTabControl control can be used to add a control with multiple tab settings to a form. The TTabSet control presents horizontal tabs users can click to initiate actions. Both TTabSet and TTabControl are a single ...
Details Favorite? Off-Topic? zarkogajic @ 2018-10-17 16:06

September 2018

0
votes
Vote UpVote

Quick Algorithm: Get Ideal Size (Square like) For a Board Game Having an Arbitrary (but Even) Number of Fields

Zarko Gajic – Say you are developing a game like Chess, Go, Checkers, Tic-Tac-Toe or Memory. In each of those games the game board is a rectangle looking playfield of different size (rows x columns). Tic-Tac-Toe is 3×3, Checkers is 8×8, while Go can be 19×19 or 13×13 and similar. In a game ...
Details Favorite? Off-Topic? zarkogajic @ 2018-09-19 14:06
0
votes
Vote UpVote

Quick Tip: Dynamically Add Rows, Columns and Controls to Delphi’s TGridPanel

Zarko Gajic – Delphi’s TGridPanel control is an ideal pick when you want to create grid-flow like user interface layout for your controls. To place controls on a grid panel you specify the number of rows and columns (RowCollection and ColumnCollection properties) and simply drop a control on it. Unlike ...
Details Favorite? Off-Topic? zarkogajic @ 2018-09-05 16:06

August 2018

0
votes
Vote UpVote

How to Randomize / Shuffle (Generic) Collections and Lists – Implementing UnSort in Delphi

Zarko Gajic – The second law of thermodynamics, in short version and when read by a programmer, states that “any collection of objects tends not to be sorted” We developers, we have a tendency of organizing objects into lists, collections, queues, stacks … Since you’ll be using the for ...
Details Favorite? Off-Topic? zarkogajic @ 2018-08-09 11:06

July 2018

0
votes
Vote UpVote

Float And Dock Controls In Delphi – No Dock Sites, No Dragging – Implementing Generic Floating Container

Zarko Gajic – In one of my applications, a tab on the page control hosts a TWebBrowser displaying PDF (and other supported) documents. Having the “PDF View” tab active, other tabs of the page control are hidden from the user – as this is how the page control functions. One users asked: ...
Details Favorite? Off-Topic? zarkogajic @ 2018-07-02 13:06

March 2018

1
vote
Vote UpVote

Screen Shuffling with Delphi (first step to a Sliding Puzzle Game)

Zarko Gajic – I’m sure you’ve seen it already. When the program starts it takes a picture of the current desktop, the picture is then cut into a number of rectangular pieces (all of the same size). A piece at some random position is “removed”. The main code randomly swaps that piece with ...
Details Favorite? Off-Topic? zarkogajic @ 2018-03-07 14:06
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)