![]()  | 
 
ControlEdit on a Command Bar | 
 
    Post Reply  
   | 
  
| Author | |
   
   Noxy  
   
   Newbie  
   Joined: 12 October 2005 Status: Offline Points: 1  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: ControlEdit on a Command BarPosted: 12 October 2005 at 6:18pm  | 
 
| 
   
    
   Hi there, i've recently started usind codejock's activeX.... 
   
  I added a CommandBar to a form, in that same commandbar I have one button popup and inside that popup i have a edit box and a normal button. I would like to know what do I have to do in order to obtain the content of the edit box when i click on the button. Thank you all in advance  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 October 2005 at 11:47am | 
 
| 
   
    
   If it is a CommandBar edit control: 
   
  In the execute event, you must catch the id of the button you pressed and do somehting like this: Dim Control As CommandBarEdit Set Control = CommandBar.FindControl(, ID_TOOLS_UNDO, ,True) If Not Control Is Nothing Then Dim MyText as String MyText = Control.Text End If  | 
 |
![]()  | 
 |
    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  |