![]() |
CXTPRibbonControlSystemRecentFileList |
Post Reply ![]() |
Author | |
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
JantjeKeizer ![]() Groupie ![]() Joined: 12 February 2008 Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
CapoPezzio ![]() Groupie ![]() Joined: 13 April 2010 Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
you should see XTP_ID_FILE_MRU ID in execute event
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |