Dear Valeriy Thank you for your response and correction. I came across this problem because I realized that when I create a new system directory or root file I would need to update TGListTree to show the added items. Maybe, it would be helpful to add a method TGListTree::Refresh()? Best regards Christian Valeriy Onuchin wrote: > Hi Christian > > > >>Dear Rooters >> >>Whenever I try to use TGListTree::FindItemByPathname(), the >>return value is null. Probably, I am doing something wrong, but >>could it be that the following code fragment may be wrong? >>TGListTreeItem *TGListTree::FindItemByPathname(const char *path) >>{ >> while (1) { >> item = FindChildByName(item, dirname); >> if (!item || !s) return item; <=== should this be item instead >> >> > >Should be as following: > if (!s) return item; > >I made a fix and added SearchDialog to TGListTree class which uses >this method. Can be activated by F7 or Cntrl-F keys. >Mods will appear in CVS asap. > > > >>Could this also be the reason, why the fFSComboBox of the root >>TBrowser does not behave as it should? >>Whenever I select one of my directories in fFSComboBox, the "root" >>directory is highlighted in fLT but not the selected directory. >> >> > >We will improve fFSComboBox in TBrowser to have the same >functionality as in WindowsExplorer. > >Thanks. Regards. Valeriy > > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET