![]()  | 
 
Addin Events to the Buttons in the XCB file | 
 
    Post Reply  
   | 
  
| Author | |
   
   srikanthg  
   
   Newbie  
   Joined: 06 June 2011 Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Addin Events to the Buttons in the XCB filePosted: 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 smiling 
   ![]()  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   srikanthg  
   
   Newbie  
   Joined: 06 June 2011 Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 June 2011 at 3:34am | 
 
| 
   
    
   Hi Oleg, 
   
  Thanks for your quick reply. keep Smiling... Srikanth G 
    | 
 |
![]()  | 
 |
   
   srikanthg  
   
   Newbie  
   Joined: 06 June 2011 Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |