You've already forked lazarus-ccr
ExCtrls: Activate OnDrawItem event in TColumnComboboxEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -197,6 +197,12 @@ var
|
|||||||
i, y, xl: Integer;
|
i, y, xl: Integer;
|
||||||
txt: String;
|
txt: String;
|
||||||
begin
|
begin
|
||||||
|
if Assigned(OnDrawItem) then
|
||||||
|
begin
|
||||||
|
OnDrawItem(Self, Index, ARect, State);
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
if Index < 0 then
|
if Index < 0 then
|
||||||
txt := ''
|
txt := ''
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user