Print Page | Close Window

Sample about Images in CXTPControlComboBox

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=9832
Printed Date: 28 August 2025 at 7:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sample about Images in CXTPControlComboBox
Posted By: hikaroute
Subject: Sample about Images in CXTPControlComboBox
Date Posted: 09 March 2008 at 3:50pm
Oleg,
Now I'm searching about adding Image to CXTPControlComboBox and can click in the image for do some functions. Does XTP have some samples to show this problem?
 
Thank you.



Replies:
Posted By: Oleg
Date Posted: 10 March 2008 at 4:28am
Hi,
Check our StylerBrowser sample.


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


Posted By: hikaroute
Date Posted: 12 March 2008 at 12:54pm

to oleg again,

Now I can get imageList from Image.  But I can't add them to the CXTPControlComboBox.  Can you give me the functions how to add image form ImageList to the CXTPControlComboBox.
 
And if I need to add more image into the one line, can I?
 
Last, if I want to click the images I added as the buttons, can I?
 
Thank you so much.


Posted By: hikaroute
Date Posted: 13 March 2008 at 8:21pm
Or anyone else,
please help me how to add image from lmagelist to the CXTPControlComboBox.


Posted By: Oleg
Date Posted: 14 March 2008 at 3:43am

Hi,

Add Icons to ImageManager:
XTPImageManager()->SetIcons(...);


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