procedure TGikoForm.SetActiveList(Obj: TObject);
var
- i : Integer;
+ i : Integer;
+ idx : Integer;
begin
- if FActiveList <> Obj then begin
+// if FActiveList <> Obj then begin
FActiveList := Obj;
+ if ListView.Selected <> nil then
+ idx := ListView.Selected.Index
+ else
+ idx := -1;
ListView.Items.Count := 0;
ListView.Items.Clear;
ListView.Selected := nil;
end else if Obj is TBoard then begin
SetThreadListItem(TBoard(Obj));
end;
- end;
+
+ if idx >= 0 then begin
+ ListView.ItemIndex := idx;
+ ListView.ItemFocused := ListView.Items.Item[ idx ];
+ end;
+// end;
if Obj is TBoard then begin
if GikoSys.Setting.ListOrientation = gloHorizontal then begin
uses
//MemCheck in 'MemCheck.pas', {'MemCheckStackTrace'\82ð\8fð\8c\8f\82É\92Ç\89Á\81B}
- Windows,
+ Windows,
SysUtils,
Forms,
Messages,
ExternalThreadItem in 'ExternalThreadItem.pas',
ExternalBoardItem in 'ExternalBoardItem.pas',
ExternalBoardPlugInMain in 'ExternalBoardPlugInMain.pas',
- ExternalFilePath in 'ExternalFilePath.pas';
+ ExternalFilePath in 'ExternalFilePath.pas',
+ bmRegExp in 'bmRegExp\bmregexp.pas',
+ GikoCoolBar in 'Component\GikoCoolBar.pas',
+ GikoListView in 'Component\GikoListView.pas',
+ GikoPanel in 'Component\GikoPanel.pas',
+ crc in 'gzip_delphi2\crc.pas',
+ gzip in 'gzip_delphi2\gzip.pas',
+ zlib in 'gzip_delphi2\zlib.pas';
{$R *.RES}
{$R gikoResource.res}