TComboBox.Clear now clears Text as well

git-svn-id: trunk@5530 -
This commit is contained in:
mattias 2004-05-30 08:53:27 +00:00
parent 39b476ca50
commit e915ff0e18
2 changed files with 7 additions and 2 deletions

View File

@ -2039,11 +2039,9 @@ var
CommandRelation: TKeyCommandRelation; CommandRelation: TKeyCommandRelation;
Handled: Boolean; Handled: Boolean;
begin begin
writeln('TMainIDE.OnExecuteIDECommand A ',Key);
CommandRelation:=EditorOpts.KeyMap.Find(Key,Shift,Areas); CommandRelation:=EditorOpts.KeyMap.Find(Key,Shift,Areas);
if (CommandRelation=nil) or (CommandRelation.Command=ecNone) then exit; if (CommandRelation=nil) or (CommandRelation.Command=ecNone) then exit;
Handled:=false; Handled:=false;
writeln('TMainIDE.OnExecuteIDECommand B ',CommandRelation.Command,' ',ecSave);
OnProcessIDECommand(Sender,CommandRelation.Command,Handled); OnProcessIDECommand(Sender,CommandRelation.Command,Handled);
if Handled then Key:=VK_UNKNOWN; if Handled then Key:=VK_UNKNOWN;
end; end;
@ -10420,6 +10418,9 @@ end.
{ ============================================================================= { =============================================================================
$Log$ $Log$
Revision 1.729 2004/05/30 08:53:26 mattias
TComboBox.Clear now clears Text as well
Revision 1.728 2004/05/29 18:56:05 mattias Revision 1.728 2004/05/29 18:56:05 mattias
added keys for adding/deleting breakpoints added keys for adding/deleting breakpoints

View File

@ -645,6 +645,7 @@ end;
procedure TCustomComboBox.Clear; procedure TCustomComboBox.Clear;
begin begin
Items.Clear; Items.Clear;
Text:='';
end; end;
{------------------------------------------------------------------------------ {------------------------------------------------------------------------------
@ -789,6 +790,9 @@ end;
{ {
$Log$ $Log$
Revision 1.39 2004/05/30 08:53:27 mattias
TComboBox.Clear now clears Text as well
Revision 1.38 2004/04/10 17:58:57 mattias Revision 1.38 2004/04/10 17:58:57 mattias
implemented mainunit hints for include files implemented mainunit hints for include files