zarkogajic
Say you have an array of integer values, for example, pages of a document or years when something happened, like years when new Delphi version was released: If you would want to display the above… … Read more
2 years ago in algorithms, Arrays, Delphi, generics0
zarkogajic
Delphi’s TTabControl is a container type VCL control – allowing controls in its client area and displaying a set of tabs (as tabs or buttons). The TTabControl, unlike TPageControl, is not made up of several… … Read more
3 years ago in Delphi, findvclwindow, tpagecontrol, TTabControl, User Interface0
zarkogajic
The Combo Box Windows control (aka TComboBox in Delphi) is one of the most frequently used user interface elements along with buttons and edits in Windows applications. TComboBox control represents an edit box with a… … Read more
4 years ago in delay, Delphi, tcombobox, ttask, windows api0
zarkogajic
Quite some time has passed since working with multiple threads was introduced in Delphi (Delphi 2, way back in 1996). The TThread class at that time was a very lightweight wrapper around the Windows CreateThread… … Read more
4 years ago in Delphi, modal window, PPL, threading, tprogressbar, ttask0
zarkogajic
Windows messages are a key ingredient in communication between Windows and (your) application and also in communication between (two) applications. Even without your knowledge Windows messages are being posted and handled by forms in your… … Read more
4 years ago in Delphi, twincontrol, windows, windows api, windows messages0
zarkogajic
In Delphi, the reserved word “interface” has two distinct meanings. In a Delphi unit, “interface” denotes the start of a unit section used to declare public constants, data types, variables, procedures and functions visible and… … Read more
4 years ago in com, Delphi, interface, oop, override, reimplement. class0
zarkogajic
Delphi’s TComboBox combines an edit box with a scrollable list – with the Style property defining the display style of the combo. When set to csDropDownList there’s no edit box – users can only pick… … Read more
5 years ago in delay, Delphi, interceptor, tcombobox, timers0
zarkogajic
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… … Read more
5 years ago in Delphi, memory, memory management0
zarkogajic
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… … Read more
5 years ago in Delphi, dialogs, messagedlg, TApplicationEvents0
zarkogajic
“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… … Read more
6 years ago in Delphi, games, memory, oop, tgridpanel, timage, User Interface0
zarkogajic
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… … Read more
6 years ago in Delphi, menus, tmonitor, tscreen, typed constant0
zarkogajic
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… … Read more
6 years ago in Delphi, tlistview, windows messages0
zarkogajic
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… … Read more
6 years ago in Delphi, games, oop, tgridpanel, User Interface0
zarkogajic
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 during your childhood. I’m also certain you are still playing… … Read more
6 years ago in Delphi, games, oop0