Print Page | Close Window

How to make a combobox with icon and text?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10123
Printed Date: 08 June 2025 at 3:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to make a combobox with icon and text?
Posted By: likigoldenstar
Subject: How to make a combobox with icon and text?
Date Posted: 07 April 2008 at 5:32am
Hi,
 
 
I want to make a combobox which has text and icon.
 
Like this:
 
index icon, text
 
Item1 :    AAA
 
Item2 :    BBB
 
Item3 :   CCC
 
How can i do that?
 
Please give me a help.
 
Thansk / regards
 
 
 
 
 
 
 
 


-------------
Liki goldenstar



Replies:
Posted By: Oleg
Date Posted: 07 April 2008 at 6:03am
Hi,
Afraid it can't show text/icon/text. Only icon/text.


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


Posted By: likigoldenstar
Date Posted: 07 April 2008 at 7:45pm
Hi,
 
Please explain how to make a combobox with icon and text.
 
It's just thing to know.
 
I am glad you can make a combobox with icon/text.
 
Please .
 
Thanks/Regards.


-------------
Liki goldenstar


Posted By: ijwelch
Date Posted: 07 April 2008 at 11:57pm
This is/will be supported in version 12 (see controls sample, markup tab in latest beta).


Posted By: Oleg
Date Posted: 08 April 2008 at 1:54am
Hi,
Liki, you need it for CommandBars's Combo, right?
You need ListIconId property - see description in help.


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


Posted By: likigoldenstar
Date Posted: 08 April 2008 at 5:08am
Hi,
 
Thanks, Mr.Oleq.
 
One more thing.
In item of combobox, we can use only image (type:png and so on.) and resource as ICON.
 
but, i want to use ICON that i draw directly in the code (using graphical functions:  Graphics.FillRectangle () ).
 
Then, how shall i do?
 
Please give me a help.
 
I wish u can give me a best answer.
 
Thanks / Ri


-------------
Liki goldenstar


Posted By: Oleg
Date Posted: 08 April 2008 at 7:34am

Hello,

Workaround is draw some graphic, convert it to Bitmap/Icon and add this bitmap to imagemanager.


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


Posted By: likigoldenstar
Date Posted: 09 April 2008 at 6:09am
Hi,
 
Thanks for your reply.
But, i can't implement in the code using your saying, though i tried to do that.
I don' understand your saying with a short  sentence.
 
I am a beginer in codejock.
 
Please explain in detail and give me a simple sampl code.
 
I want to implement like that:
 
Font family combobox and rectangle style combobox.
 
 
Please give help in detail.
 
Deadline. is almost done......
 
Thanks / Regars.
 
 
 


-------------
Liki goldenstar


Posted By: Oleg
Date Posted: 10 April 2008 at 2:13am
See sample here: https://forum.codejock.com/forum_posts.asp?TID=9938 - https://forum.codejock.com/forum_posts.asp?TID=9938

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