Click to See Complete Forum and Search --> : Changing cursor...?
Anton LaVey
Jan 11th, 2000, 06:16 PM
I am at school and unfortunately the MSDN is not installed on their version of VB6. I need to know how to set the cursor (when in a rich text box) to the italic cursor. The one that is slanted to the right like italic text...
Thanks in advance...
Anton LaVey
Hello, Anton.
If you mean to enter the text in a rich text box to italic, then do this :
RichTextBox1.Font.Italic = True
You can toggle this propert on and off.
Anton LaVey
Jan 11th, 2000, 10:52 PM
No...
I am using rchtxtMain.SelBold for that.
When it is set to Italics thought the angular cursor that usually appears in Word 97 etc. I really need this.
Thanks in advance...
Anton LaVey
HarryW
Jan 12th, 2000, 11:15 AM
I don't have VB on the computer I'm on at the moment so I can't check this (and it's been a while since I used proper VB) but..
I remember I changed the cursor in one project I did to an hourglass while the computer was busy loading a new form, or filling a list box. I can't exactly remember the name of the property to set. It was mouselook, or mouseicon or something. You can set this property in the...erm.. rchtextmain_mouseover event(?). Not sure what the event's called, but I think there's one for when you pass the mouse over the text box.
You might have to check your help files.
Hope it helps :)
Harry
HarryW
Jan 12th, 2000, 11:18 AM
Btw, I should have mentioned that there were other shapes you could change the cursor to. Just in case you wondered what I was talking about. (I think houglass was 11, in case you want to use it :))
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.