Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Inplace button not visible in category
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Inplace button not visible in category

 Post Reply Post Reply
Author
Message
javg View Drop Down
Newbie
Newbie


Joined: 27 November 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote javg Quote  Post ReplyReply Direct Link To This Post Topic: Inplace button not visible in category
    Posted: 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?
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
javg View Drop Down
Newbie
Newbie


Joined: 27 November 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote javg Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
javg View Drop Down
Newbie
Newbie


Joined: 27 November 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote javg Quote  Post ReplyReply Direct Link To This Post Posted: 03 December 2009 at 3:14am
It was my fault I registered the handler function twice 
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.188 seconds.