- This topic has 2 replies, 2 voices, and was last updated 2023-01-24 at 3:42 am by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › RzMRUComboBox update MRU list
Tagged: LoadMRUData, RzMRUComboBox
Hi
I’m trying to update a TRzMRUComboBox with latest MRU list from persistent storage.
According to help file I can use LoadMRUData for that. But that does not work, MRU list is not updated.
I have tested both LoadMRUData(true) and LoadMRUData(false).
//Peter
Hi Peter,
Did you fill out the other MRU related properties (i.e. MruID, MruSection, and MruRegIniFile) as described in the help? MruPath is the old way to specifying the Registry path, it is recommended to use the mruRegIniFile property.
The LoadMRUData method is used to force a reload of the combo box with the list of most-recently-used items from its persistent storage defined by the MruRegIniFile, MruSection, and MruID properties, but in practice should rarely need to be used. The list will get saved and loaded automatically.
Ray
Hi Ray
I am using registry, did not want to use an INI file. In normal use it works fine.
MruPath = ‘Software\PG software\Share Manager’
MruSection = ‘MRU’
MruID = ‘SearchList’
I planning using WM_COPYDATA to trigger an update of MRU list if I have multiple instance started.
Just to make sure the MRU list is up to date on all started instance.
//Peter
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com (opens in a new window)