Results 1 to 5 of 5

Thread: Changing cursor...?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Posts
    16

    Post

    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


  2. #2
    Guest

    Post

    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Posts
    16

    Post

    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


  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827

    Post

    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

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827

    Post

    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width