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

CXTPRibbonControlSystemRecentFileList

 Post Reply Post Reply
Author
Message
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Topic: CXTPRibbonControlSystemRecentFileList
    Posted: 21 April 2010 at 12:45pm
With the new version 13.3.1 i can create a very nice CXTPRibbonControlSystemRecentFileList
But i can't save/restore the RecentFileList with SaveStateToString/LoadStateFromString.
 
In your Documentation you provide the Save/LoadCommandbars, but this access the Registry and i want to store this in a file.
 
Please add the Save/Restore also to th SaveStateToString/LoadStateFromString methods.
 
On the other hand, you can provide a pinned-property for each item in the list, so i can save/restore it by myselve.
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2010 at 5:26am
The recentfilelist is quite limited in terms of functionality. You have no control over it.
For that reason I switched to CXTPRibbonControlSystemPopupBarListCaption
Just create a 'CXTPRibbonControlSystemPopupBarListCaption' using the CreateCommandBarControl function and then fill that with
'CXTPRibbonControlSystemPopupBarListItem's created with that same function.
It allows you to get the exact same looks as the recent file list, except for the pins.
Then set its BeginGroup to true, or else it will look ugly.
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2010 at 6:00am
Thanks, but this i already use with a ListBox.
I hoped to use the pins-style. I think i must emulate this with a reportcontrol and use pin-icons by myself.
Back to Top
CapoPezzio View Drop Down
Groupie
Groupie


Joined: 13 April 2010
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote CapoPezzio Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2010 at 3:55pm
Originally posted by JantjeKeizer JantjeKeizer wrote:

The recentfilelist is quite limited in terms of functionality. You have no control over it.
For that reason I switched to CXTPRibbonControlSystemPopupBarListCaption
Just create a 'CXTPRibbonControlSystemPopupBarListCaption' using the CreateCommandBarControl function and then fill that with
'CXTPRibbonControlSystemPopupBarListItem's created with that same function.
It allows you to get the exact same looks as the recent file list, except for the pins.
Then set its BeginGroup to true, or else it will look ugly.


I did this, and it looks really nice, but I get no Execute-event from the CommandBar when I hit one of the CXTPRibbonControlSystemPopupBarListItems in the list i created. Any idea?
Product: Xtreme SuitePro (ActiveX) version 13.3.1
Platform: Windows 7 (32bit)
Language: Visual Basic 6.0
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2010 at 8:46am
you should see XTP_ID_FILE_MRU ID in execute event
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.176 seconds.