There are those time when a simple combo box control is required.
The record area for this application is listed below.
[codesyntax lang=”delphi”]
/// Dialog Record Area frm015_area = record /// Caption Caption: string; /// Listbox Item Index idxItem: Integer; /// Selected Text selText: String; /// Background Color bakColor: TColor; end;
[/codesyntax]
Upon successful execution the results are stored in “idxItem” and “selText” respectively.
A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.