![]()  | 
 
erratic behaviour when in dialogbar | 
 
    Post Reply  
   | 
  
| Author | |
   
   wakerunner  
   
   Groupie  
   Joined: 29 September 2007 Status: Offline Points: 85  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: erratic behaviour when in dialogbarPosted: 02 November 2010 at 1:49am  | 
 
| 
   
    
   I have placed on report control on a form and put the form in a commandbars dialogbar. When I do this the keypreview event never fires and the keydown event does not fire for every key press. When I am adding a new record the enter will save the first 2 records then enter becomes unresponsive.
 
   
  The same code works fine when the form is not placed in the dialogbar. 
    | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 13.3.1 
 
   
  Platform: Windows 7 64 bit Language: Visual Basic 6.0  | 
 |
![]()  | 
 |
   
   wakerunner  
   
   Groupie  
   Joined: 29 September 2007 Status: Offline Points: 85  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 02 November 2010 at 12:38pm | 
 
| 
   
    
   Decided to use a grid instead of the report control so never mind.
    
   
   | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 13.3.1 
 
   
  Platform: Windows 7 64 bit Language: Visual Basic 6.0  | 
 |
![]()  | 
 |
   
   Baldur  
   
   Senior Member  
   Joined: 22 November 2006 Location: Germany Status: Offline Points: 244  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 10 December 2010 at 3:52am | 
 
| 
   
    
   The keyboardevents are eaten from the commandbar itselves (to check shortcuts).
 
   
  You can use CommandBarKeyDown-Event instead. 
    | 
 |
![]()  | 
 |
    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  |