Monday, March 30, 2026

Updating the dual list box interface

Many moons ago, I wrote1 about an internal improvement to the 'dual list box dialog. This is a template that came with the original version of Delphi and has served us well over the years. 

Yesterday, whilst reading the 'vibe coding2' book, I began thinking of ways to improve the appearance of the program and not have it stuck in the early 2000s. The first thing that came to mind was the above dialog box: wouldn't it be easier if there were only one checklistbox on the form? The user either marks (or removes marks) in order to add or remove an item from the collection. It turns out that programming this dialog is far simpler than the old dialog, but that shouldn't be a factor in deciding which format to use.

I sent both pictures to the OP so that she could give her opinion. Originally she chose the dual list box version "because this is what I know and it is very clear which items have been selected". I replied "boring", to which she replied "go with the new format if it's easier". At the moment I'm not going to convert any more forms to this new format - I want to give her a chance to make a more considered choice.

Internal links
[1] 307
[2] 2097



This day in blog history:

Blog #Date TitleTags
102030/03/2017Mint chocolatePeppermint
120630/03/2019New songSong writing, Multi-track

No comments: