Print Page | Close Window

Pinnable RecentFileList

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14986
Printed Date: 06 October 2024 at 8:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pinnable RecentFileList
Posted By: Albert1
Subject: Pinnable RecentFileList
Date Posted: 17 August 2009 at 10:02am

Hello,

new CommandBars contains a new great option: the RecentFileList. I am translating my old code to use with new feature but I am not able to get the whole steps.
 
I can add a file into MRU:
CommandBars.RecentFileList.Add "C:\Untitled.txt"
 
I can remove from the MRU:
CommandBars.RecentFileList.Remove(1)
 
I can get the number of items:
CommandBars.RecentFileList.Count
 
and I can access the single element of the collection (even in reverse order!!! imho)
CommandBars.RecentFileList.Item(2)
 
This way I can Save/Load MRU To/From the registry.
 
But, how can I access the status of the Pinnable property? I would like (and expect from CJ) to get a code like this (or sort of):
Commandbars.RecentFileList.Item(2).FileName
Commandbars.RecentFileList.Item(2).Pinned
 
Is there a way to get/set this properties?
Thank you
Alberto


-------------
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0

Platform: Windows Vista (32bit) - SP 2

Language: Visual Basic 6.0 (SP6)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net