Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Addin Events to the Buttons in the XCB file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Addin Events to the Buttons in the XCB file

 Post Reply Post Reply
Author
Message
srikanthg View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2011
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote srikanthg Quote  Post ReplyReply Direct Link To This Post Topic: Addin Events to the Buttons in the XCB file
    Posted: 07 June 2011 at 1:58am
Hi Everyone,
        Actually i am very new to Code-jock.So with all your support i hope i can do wonders.
Here is my first question.I have created a XCB File and i am able to load that into my MDI form.
But i want to add the events to that buttons which were created in XCB File.



Thanks ...
Srikanth G
Keep smilingSmile
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 3:11am
Please start from our samples, they show everything you need to work with CommandBars.

you need implement CommandBars_Execute event:

Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)

    On Error Resume Next
    
    Select Case Control.Id
        Case ID_APP_ABOUT:             CommandBars.AboutBox
 ...



See CommandBars\VB\DesignerSample sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
srikanthg View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2011
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote srikanthg Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 3:34am
Hi Oleg,
Thanks for your quick reply.

keep Smiling...
Srikanth G
Back to Top
srikanthg View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2011
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote srikanthg Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 5:41am
Hi,
 I have another doubt.
I did as you suggested me and able to run the events.
But if i have a combobox in the xcb file(Ribbon bar)
and how to get the selected item text in the application.

Thanks...
Srikanth G
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.