473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Fonts in a Combobox

rh
Hi,

Is there a way to have the text in a Combobox control appear with mixed font styles? For example, if possible, I would like to show parts of a text in italics or in bold:

Here are the items in the Combobox:
"dog"
"dog and cat"
"dog or cat"

Thanks.
Nov 20 '05 #1
1 1679
* "rh" <rh******@h.com> scripsit:
Is there a way to have*the text in a Combobox control appear with mixed font styles? For example,*if possible, I would like*to
show parts of a text in italics or in bold:


You will have to create an ownerdrawn combobo. You will find a sample
for an ownerdrawn listbox here (very similar):

<http://www.mvps.org/dotnet/dotnet/samples/controls/downloads/FontList.zip>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: LaidBack Bill | last post by:
My application allows the user to select fonts. I fill in a combo box control with the available fonts by looping through all System.Fonts: ' Get all the screen fonts ReDim...
0
by: rh | last post by:
Hi, Is there a way to have the text in a Combobox control appear with mixed font styles? For example, if possible, I would like to show parts of a text in italics or in bold: Here are the items...
1
by: Oney | last post by:
how can I add screen font names to ComboBox?
4
by: L | last post by:
Hi there, Does C# support OpenType fonts? My c# application is not recognizing OpenType fonts. Thanks, Lalasa.
3
by: Jonesgj | last post by:
Hi, How can I retrieve the Fonts available on my system and place in a list or combo?? Thanks in advance Jonesgj
7
by: Bill English | last post by:
Which class are the fonts located? This is what I want to do: Dim vFonts() as String = (FONTS HERE) Then add all of the fonts to a checkbox.
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
1
by: Gary | last post by:
I want to dynamically change the font combobox content. How to catch the event or the message that installed fonts have been changed? Thanks,
7
by: active | last post by:
In control panel/Display/Appearance/Effects if : 'Use the following method to smooth edges of screen fonts' is checked and ClearType is selected in the combobox (no problem if Standard is...
3
by: moondaddy | last post by:
I have a list of fonts in a combo. how to I make each item in the list use that font as it's (the item's) style similar to viewing a list of fonts in Word? <ComboBox Grid.Row="0"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.