forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accelerators in enhanced menus

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sat Sep 03, 2005 4:43 pm    Post subject: Accelerators in enhanced menus Reply with quote

*** From a user ***
In ClearWin+ it is possible in the %mn format to associate an accelerator key with a menu item (using the paragraph symbol).
How is this accomplished using the enhanced menu format %`mn ?
Back to top
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Sep 05, 2005 1:46 am    Post subject: Accelerators in enhanced menus Reply with quote

You can use %ac or add_accelerator_key@ to attach a callback function (cb_accel1 say) to a given accelerator key.

An enhanced menu takes only one callback function for all its items so in this callback function you can identify the item that was clicked (as shown in the help file) and then call cb_accel1 etc from there.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group