Vote UpVote

hcOPF LookupLists

TPersistent.com – A common problem that developers have to deal with is validation of input against a lookup table in the database. ¬†Sometimes the “table” isn’t even in the database so a hard coded list of key/value pairs is used instead. ¬†In each case, hcOPF provides a solution to eliminate all the boiler plate code you might use to populate a TComboBox or similar control with such values. Static Values If the Key/Value pairs are small in number and static then an array of ThcKeyValue pairs can be declared as such: MaritalStatusKV :array[1..2] of ThcKeyValuePair = ...
Favorite? Off-Topic? Larry Hengen @ 2010-07-08 02:33


Visits: 714
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)