|
-
Apr 16th, 2004, 03:52 AM
#1
Thread Starter
Fanatic Member
font size in listview..
how do i change the font size of the data that is put in the listview?
-
Apr 16th, 2004, 06:46 AM
#2
VB Code:
Dim intSize As Integer = 12
ListView.Font = New System.Drawing.Font(ListView.Font, intSize)
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Apr 22nd, 2004, 03:39 AM
#3
Thread Starter
Fanatic Member
hmm..funny this code underlines the data i have in the listview...
or sometimes even cancel the data!
-
Apr 22nd, 2004, 03:49 AM
#4
I don't live here any more.
-
Apr 22nd, 2004, 03:54 AM
#5
Not surprised about the underlining really, you were using the wrong overload for new Font()
there are 2 overloads with 2 arguments, one takes the font name and the size and the other takes the font name and font options.
Since the font options arg is an enumeration...12 is equal to 8+4 which are the values of the "strikeout" and "underline" attributes.
You must fully qualify your code before letting it run. That's what intellisense is for
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|