A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Contact form custom action



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 22nd 08, 11:23 AM posted to microsoft.public.outlook.program_forms
Michele
external usenet poster
 
Posts: 41
Default Contact form custom action

Hi all.
I added a custom action in the actions page of the standard IPM.Contact
form. For this custom action i checked the option to show it on the context
menu and on the bar menu. I viewed through VBScript the type property of its
relative control on the context menu and it says it is a commandbutton type.
My aim is to add a submenu to my custom action control but since that is a
commandbutton control i think i can't add a submenu to it. Am i correct and
if not how can i add a submenu to the custom action i added in the Contact
form?
I know i can do that easily using VBA but i would prefer to use only Form
customization and VBScript inside the Form.
Thanks a lot for any suggestion
Best regards
Ads
  #2  
Old December 22nd 08, 11:25 AM posted to microsoft.public.outlook.program_forms
Michele
external usenet poster
 
Posts: 41
Default Contact form custom action

I forgot to say that i use Outlook 2007.

"Michele" wrote:

Hi all.
I added a custom action in the actions page of the standard IPM.Contact
form. For this custom action i checked the option to show it on the context
menu and on the bar menu. I viewed through VBScript the type property of its
relative control on the context menu and it says it is a commandbutton type.
My aim is to add a submenu to my custom action control but since that is a
commandbutton control i think i can't add a submenu to it. Am i correct and
if not how can i add a submenu to the custom action i added in the Contact
form?
I know i can do that easily using VBA but i would prefer to use only Form
customization and VBScript inside the Form.
Thanks a lot for any suggestion
Best regards

  #3  
Old December 22nd 08, 02:10 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Contact form custom action

Only a CommandBarPopup menu item can have sub-menus or commands. A
CommandBarButton is just that, only a button.

There are commands you can handle for opening of context menus in Explorers
in Outlook 2007 as a supported mechanism. That allows you to add to the
context menus, but for that you need to use a COM addin or Outlook VBA code,
not VBScript forms code or any actions settings.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Michele" wrote in message
...
I forgot to say that i use Outlook 2007.

"Michele" wrote:

Hi all.
I added a custom action in the actions page of the standard IPM.Contact
form. For this custom action i checked the option to show it on the
context
menu and on the bar menu. I viewed through VBScript the type property of
its
relative control on the context menu and it says it is a commandbutton
type.
My aim is to add a submenu to my custom action control but since that is
a
commandbutton control i think i can't add a submenu to it. Am i correct
and
if not how can i add a submenu to the custom action i added in the
Contact
form?
I know i can do that easily using VBA but i would prefer to use only Form
customization and VBScript inside the Form.
Thanks a lot for any suggestion
Best regards


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 Task form in Contact Action "New Task for Contact" JAWs Outlook - Using Contacts 0 September 27th 07 03:30 PM
Replace Contact Form with Custom Form JonMulder Outlook and VBA 2 October 18th 06 09:55 PM
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 David Webb Outlook and VBA 1 June 20th 06 09:59 PM
Emailing a contact vCard with custom form loses all custom info Kim Outlook - Using Contacts 7 April 27th 06 12:21 AM
Custom meeting form - action on change of recipients jondxs Outlook - Using Forms 2 March 14th 06 02:24 PM


All times are GMT +1. The time now is 12:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.