Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Pinnable RecentFileList
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pinnable RecentFileList

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: Pinnable RecentFileList
    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)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.