With my program and various demos, the FolderTree shows a nice Sky Blue hi-lite color when a folder is clicked on, and therefore has focus.
If I then click on a file in the FolderMView, the FolderTree hi-lite turns gray, showing that it no longer has focus.
When I click on files in FolderMView, they too receive a hi-lite of Sky Blue for having focus. But, if I then click in FolderTree, the hi-lite in FolderMView remains Sky Blue.
I have researched all kinds of things in the help file and available properties and don't find a way to specify colors for FolderMView when it loses focus. I have found it is very easy, with both panels showing the same hi-lite color, to confuse which panel has focus. This means that clipboard hotkeys may act on a folder that the user does not desire.
Is there anything I've missed that would allow me to turn the hi-lite to gray, like FolderTree, when FolderMView loses focus?
J.R.
Update:
Apparently I was fixated on the fact that FolderTree automatically changed its colors when it lost focus and FolderMView did not. I have found a reasonable workaround:
procedure TMainForm.IEFolderTree1Click(Sender: TObject);
begin
if PreviewOrOpenFiles.Checked = true then
begin
IEFolderMView.ThumbnailsBackgroundSelected := clSilver;
IEFolderMView.Refresh;
end
else
IEFolderMView.Deselect;
end;
procedure TMainForm.IEFolderMViewClick(Sender: TObject);
begin
IEFolderMView.ThumbnailsBackgroundSelected := clSkyBlue;
IEFolderMView.Refresh;
end;
procedure TMainForm.PreviewOrOpenFilesClick(Sender: TObject);
begin
PreviewOrOpenFiles.Checked := not PreviewOrOpenFiles.Checked;
if PreviewOrOpenFiles.Checked = false then
begin
IEFolderMView.ThumbnailsBackgroundSelected := clSkyBlue;
IEFolderMView.Refresh;
end;