![]()  | 
 
Inplace button not visible in category | 
 
    Post Reply  
   | 
  
| Author | |
   
   javg  
   
   Newbie  
   Joined: 27 November 2009 Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Inplace button not visible in categoryPosted: 27 November 2009 at 8:57am  | 
 
| 
   
    
   Hi CJ Team, 
   
  I want to add a button to a category but after adding the button it is not displayed, here is the code: Category = this.axTaskProperty.AddCategory(this.customPropertiesText); PropertyGridInplaceButton Button = Category.AddInplaceButton(100); Button.Caption = "Add"; I've done this with items inside the category and it works fine as long as the item has readonly = false I'm using version 10.4.2, can this be done with this version?  | 
 |
![]()  | 
 |
   
   Aaron  
   
   Senior Member  
   Joined: 29 January 2008 Status: Offline Points: 2192  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 28 November 2009 at 2:14am | 
 
| 
   
    
   Hi,
 
   
  This option has been added in V12.0 (for ActiveX)  
 | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 15.0.2 
 
   
  Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option....  | 
 |
![]()  | 
 |
   
   javg  
   
   Newbie  
   Joined: 27 November 2009 Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 December 2009 at 2:27am | 
 
| 
   
    
   Hi, 
   
  I've made some progress with inplace buttons (still using version 10.4.2 for the moment), but I have a problem with the inplace buttons event handler. The code: private void axTaskProperty_InplaceButtonDown(object sender, AxXtremePropertyGrid._DPropertyGridEvents_InplaceButtonDownEvent e) { MessageBox.Show("Hello World!\n" + e.GetType().ToString() + " " + e.GetHashCode().ToString() ); } for some reason when I push the button this function shows the messagebox twice, the event type is the same both times and the hash code too, I suppose the hash code is unique for each event so my guess is the event is being sent two times. Any idea why this is happening? Thank You  | 
 |
![]()  | 
 |
   
   javg  
   
   Newbie  
   Joined: 27 November 2009 Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 December 2009 at 3:14am | 
 
| 
   
    
   It was my fault I registered the handler function twice  
   
   
    | 
 |
![]()  | 
 |
    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  |