SmartPath updated

VistaPanel image

Good looking SmartPath

This is just an update of my SmartPath component. Some elements have been removed while some elements have been added.

I added a transparent option, and lookup in edit mode. The search option was removed. Some bugs were removed and the code tweaked a little.

UPDATED!
New property added

NetDiskWait: Boolean;

When set to true it works like normal but if you set it to false it will not check if net disks(drives) are ready. I have a net drive that lose connection all the time, making me crazy every time I am going to pick a disk, so I had to do something about it. Default is False.

Download Component

Hope you like it.

Roy M Klever

Tags: , , , ,

  • Castor69

    Suggestions: (1) Original MS bar has additional button with menu that allow navigate to top in folders tree. This is very useful and will be very good if you could add this feature in yor nice component. (2) Property OwnerDraw should be added (now must manyally call Invalidate if owner draw event is in use and changing this in runtime – as in your demo). (3) Properties for customizable colors SHOULD be added (color if mouse enter and leave, buttons and fonts colors, etc). (4) Property show/not show new folder in navigation menu and customizable string for this item. (5, optional) Gradient background like in your panel.
    Bug: mouse leave event is not handled.

  • admin

    Hi Castor69,

    Thank you for your feedback.

    To start with number one, I doubt it will happen since I do not like navigation trees at all and this component only support real folders and not any virtual folders.

    Well I think number two could easily be added but is it really needed, I will check it out.

    Customizable colors for what? Buttons? Well I can take a look but it is not so easy to do as it sounds. I did add custom painting for adding different look. Some colors can be tweaked I guess. Will see what I can do.

    The New Folder already have a property to change its name and I do plan a property to change its visibility in the popupmenu. Will be done.

    Regarding number five you can do this already by putting the component on top of my gradient panel and setting the transparent to true.

    The bug I have to check out. Will be fixed.

    Regards
    Roy M Klever

  • s_lutti

    Hi,

    the problem with the disabled network drives exists since WinXP SP 2 as far as I remember. There is a registry value called “Autodisconnect” and it's set to 15 minutes. So the mapped drive will be disconnected after 15 minutes. You can set this value to FFFFFFFF or you can use the following command

    net config server /autodisconnect:-1

    With this option the mapped drive will be disconnected after 7800 years or something like that.

  • admin

    Thank you for the tip!

    Roy

blog comments powered by Disqus