Gentle people,
I am at wits end. There is a program I am supposed to change. It contains a simple single-selection listbox containing file names (in reverse order - youngest on top). All of this works properly. Unfortunately the listbox is rather large and featureless, hence the desire was uttered to have horizontal grid lines to separate the file names. No problem, I thought, set the property
GridLinesHorizontal
to
BorderThinSolid
and you are done. Well, to err is human! After reading hundreds of pages on the internet, the only thing I could find is:
ListBox.GridLinesHorizontal = 3 (or ListBox.BorderThinSolid);
or a simple sentence stating "set the GridLinesHorizontal to BorderThinSolid"!
But not the slightest hint how this can be done! Where does "ListBox." or whatever come from? It ought to be a class, or a structure, or ... I always entertained the thought this must be a structure, for it contains values, but I have no idea what type of structure this may be, nor how it is defined. The same applies to
BorderThinSolid
. Apparently a constant. No idea where it can be found ...
Where did I go in the wrong direction? I am at wits end!
Can you help?
Kind regards!
N.B. This may be of interest:
InitCtrls.dwICC = ICC_LISTVIEW_CLASSES || ICC_STANDARD_CLASSES || ICC_USEREX_CLASSES;