Print Page | Close Window

Does XTP 11.2 Support...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8090
Printed Date: 20 June 2025 at 2:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Does XTP 11.2 Support...
Posted By: terrym
Subject: Does XTP 11.2 Support...
Date Posted: 19 September 2007 at 8:53pm
Does XTP 11.2 Support the below selected style (as I can only get the hovered style for either checked or selected) or do we need to write our own owner draw:
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: terrym
Date Posted: 19 September 2007 at 8:59pm
Just incase, below is what our XTP 11.2 version looks like, notice how it does not have the little checked orange square:
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 21 September 2007 at 2:50am
Hi,
 
Don't see problems to modify Draw method to paint checked rectangle only in icon part.


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


Posted By: terrym
Date Posted: 21 September 2007 at 3:28am

sure, was just checking if I was missing something in Gallery Control's, but if not part of gallery control's already I can add to our owner draw.

However could you tell me what the SetSelectedItem() function is useful for as not used in Samples and it doesn't seem to do a lot :)


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: terrym
Date Posted: 21 September 2007 at 3:32am
Hi
 
Also could you please tell me which functions to use internally to draw a similar checked graphic to the Word 2007 version with red outline and a more solid colour in centre, or which functions to get colours based on the theme to make sure themes work ok
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: terrym
Date Posted: 26 September 2007 at 6:02pm
ah word 2007 uses the pressed state for showing checked items, I have now incorporated this as owner draw, works great
 
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



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