Menu

#41 MoveUpButton enabled/disabled inconsistantly

open
nobody
5
2013-01-15
2003-06-30
Alden Bates
No

When the folder is changed from a StShellListView,
sometimes the MoveUpButton on a connected
StShellNavigator will start disabled even though it
shouldn't be.

EG: from the desktop folder, double-clicking My
Computer in the List View will take you to My Computer,
but the MoveUpButton remains disabled.

My solution was to add a new procedure to
TSsShellComboBox (defined further down SsShlDlg.pas):
procedure DoFolderSelected(SF : TStShellFolder);
override;

I then moved the enabling of the MoveUpButton from
the DoFolderChanging function and placed it in the new
DoFolderSelected function.

Discussion


Log in to post a comment.