Favorites

This forum is for eXpress++ general support.
Post Reply
Message
Author
skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Favorites

#1 Post by skiman »

Hi,

Customers sometimes are asking me to have 'favorites' in my application. They would like to have an option to add certain 'menu options' to their favorites toolbar.

I was thinking to use the 'right button' on a menu item to get a popup with the option 'add to favorites'. At that moment I would need to have the menu text from the current selected option, and also the action for the option. this way I could save it in a database to process. With access to that database, a user would have the possibility to sort, and to delete options from their favorites.

Anyone who has done this before or any suggestions to do this?
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Favorites

#2 Post by rdonnay »

DC_XbpMenuShift() is used to post a codeblock to call when the shift key is
held down while clicking a menu item. This is a handy feature to make it easy
to give users the ability to create their own shortcuts from any existing menu system.

Look at the sample program .\samples\menu\menushortcuts.prg
The eXpress train is coming - and it has more cars.

skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Favorites

#3 Post by skiman »

Thanks, I will look at it.
Best regards,

Chris.
www.aboservice.be

Post Reply