Print Page | Close Window

Question of MessageBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10484
Printed Date: 16 June 2025 at 11:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Question of MessageBar
Posted By: Bernie
Subject: Question of MessageBar
Date Posted: 04 May 2008 at 12:56am
See the codes from the CJ example
 
    Set MessageBar = CommandBars.MessageBar
    MessageBar.Visible = True
   
    MessageBar.AddCloseButton "Close Message Bar"
    MessageBar.AddButton ID_EDIT_COPY, "Options...", "Show more options"

The codes added a "options" button on the messagebar.
My question is simple.
 
Which event will be fired when the user clicks the button?


-------------
Bernie Ho, Planning Manager + IELTS specialist + part-time programmer
Taiwan, R.O.C



Replies:
Posted By: Fabian
Date Posted: 04 May 2008 at 10:05am
Hi Bernie
 
Like any other button of commandbars it will fire the Execute event with the given ID (ID_EDIT_COPY in your example).


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: Bernie
Date Posted: 05 May 2008 at 2:08am
Thank yoiu.
But the button in the Messagebar seems not to support Markup...


-------------
Bernie Ho, Planning Manager + IELTS specialist + part-time programmer
Taiwan, R.O.C



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net