Print Page | Close Window

SOLVED: PropertyItemCategory inplacebuttons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=9968
Printed Date: 22 May 2025 at 6:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: PropertyItemCategory inplacebuttons
Posted By: Aaron
Subject: SOLVED: PropertyItemCategory inplacebuttons
Date Posted: 27 March 2008 at 1:29am
Hi,
 
Is it possible to have inplacebuttons on a category? In fact it doesn't matter what kind of item as long I can click on it and it fires an event
Any possible solution for this?
 
Thanks in advance


-------------
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....



Replies:
Posted By: Baldur
Date Posted: 27 March 2008 at 10:31am
I think that this is not possible, because Categories are hidden when you sort by property.
I solve this problem with using a PropertyItem and childitems.
The mainitem has buttons and will be canceled for edit in the RequestEdit event.
So the buttons can be used.


Posted By: Aaron
Date Posted: 27 March 2008 at 3:27pm
Hi,
 
Yes I know I can use a PropertyItem with childitems. I was hoping for some kind of workaround. Maybe the CJ developers will add this feature  in the next version. 
 
I would rather use the category items because it looks nicer. Only the caption is selected and not the whole item area.  When using PropertyItems you don't see the difference between a main or a child item and I see a small flicker when cancelling the request edit.
 
Thanks anyway for your reply


Posted By: Baldur
Date Posted: 28 March 2008 at 2:42pm
You can change the captionmetrics and valuemetrics to apear as category, and if the cpu is fast, you have no flicker.


Posted By: Aaron
Date Posted: 30 March 2008 at 2:20am
Hi,
 
That's not entirely true, the selection area of a category is only the caption and second the identation of the childs increases when using a propertygrid item (without workarounds, but we don't want that) . I think there are advantages and disadvantages with this and I believe it's still a workaround and when using it this way you have just the looks of an extended Treeview with 2 columns. That brings me to the original post: is it possible to have inplace buttons to a PropertyItemCategory?
 
Thank you anyway for your replies


Posted By: Aaron
Date Posted: 30 April 2008 at 2:31am
Hi,
 
This possible in V12.0


Posted By: Oleg
Date Posted: 30 April 2008 at 3:16am
Hi,
Thanks for suggestion about  inplacebuttons for category :-) think it can be used as filter or something.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net