Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Question of MessageBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Question of MessageBar

 Post Reply Post Reply
Author
Message
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Topic: Question of MessageBar
    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
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.