DBGridEh.TDBGridEhFillSTFilterListValuesEvent Type

Occurs every time when it is needed to fill list of STFilter dropped down box.

TDBGridEhFillSTFilterListValuesEvent = procedure (Sender: TCustomDBGridEh; Column: TColumnEh; Items: TStrings; var Processed: Boolean) of object;

Write this event to change algorithm of filling the dropped down list in the cell of STFilter. Every item of Items list must consists of two values: String - Items[i] and Object Items.Objects[i]. Items of object type must be inherited from TPopupListboxItemEh type and they must be declared as global variables. See EhLib Users guide for detail information.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!