mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
IDEIntf: object inspector: ussing OnGetItems
git-svn-id: trunk@16313 -
This commit is contained in:
parent
2c13e3911b
commit
6aaa0102c7
@ -403,11 +403,7 @@ type
|
||||
procedure ValueComboBoxMouseUp(Sender: TObject; Button: TMouseButton;
|
||||
Shift: TShiftState; X, Y: Integer);
|
||||
procedure ValueComboBoxCloseUp(Sender: TObject);
|
||||
{$IFDEF UseOnGetItems}
|
||||
procedure ValueComboBoxGetItems(Sender: TObject);
|
||||
{$ELSE}
|
||||
procedure ValueComboBoxDropDown(Sender: TObject);
|
||||
{$ENDIF}
|
||||
procedure ValueButtonClick(Sender: TObject);
|
||||
procedure ValueComboBoxDrawItem(Control: TWinControl; Index: Integer;
|
||||
ARect: TRect; State: TOwnerDrawState);
|
||||
@ -866,11 +862,7 @@ begin
|
||||
OnKeyDown:=@ValueComboBoxKeyDown;
|
||||
OnKeyUp:=@ValueComboBoxKeyUp;
|
||||
OnMouseUp:=@ValueComboBoxMouseUp;
|
||||
{$IFDEF UseOnGetItems}
|
||||
OnGetItems:=@ValueComboBoxGetItems;
|
||||
{$ELSE}
|
||||
OnDropDown:=@ValueComboBoxDropDown;
|
||||
{$ENDIF}
|
||||
OnCloseUp:=@ValueComboBoxCloseUp;
|
||||
OnDrawItem:=@ValueComboBoxDrawItem;
|
||||
end;
|
||||
@ -2643,11 +2635,7 @@ begin
|
||||
SetRowValue;
|
||||
end;
|
||||
|
||||
{$IFDEF UseOnGetItems}
|
||||
procedure TOICustomPropertyGrid.ValueComboBoxGetItems(Sender: TObject);
|
||||
{$ELSE}
|
||||
procedure TOICustomPropertyGrid.ValueComboBoxDropDown(Sender: TObject);
|
||||
{$ENDIF}
|
||||
var
|
||||
CurRow: TOIPropertyGridRow;
|
||||
MaxItemWidth, CurItemWidth, i, Cnt: integer;
|
||||
|
Loading…
Reference in New Issue
Block a user