Results 1 to 10 of 10

Thread: font, font size, font size in chat application!!

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved font, font size, font size in chat application!!

    how to do that that if sender type the message when the message write in certain font, type and size, when send to receiver and receiver's form should display the message with the font, font size and type of sender have.....???
    Last edited by kenny_oh; Oct 28th, 2005 at 12:29 PM.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: font, font size, font size in chat application!!

    You would have to send that info along with the actual text. Show the code you are using to send the text, along with your method of saving the font info.
    I presume that you are using the rtb control.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: font, font size, font size in chat application!!

    rtb? i use normal textfield only

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: font, font size, font size in chat application!!

    Then everything has to be in the same font. If you want each line different with different colors, you'll need to switch to a rtb.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: font, font size, font size in chat application!!

    err......only format for each message

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: font, font size, font size in chat application!!

    If each message is in it's own textbox, then you can change each font/type
    If you want multiple messages with different font/color, you need a rtb.

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: font, font size, font size in chat application!!

    i mean in sender if font is time new roman, 12pp and ......when receiver receive and display in textbox, it should be time new roman, 12pp......when receiver send message, that message will display in the next line and with his own font type, size.......

  8. #8
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: font, font size, font size in chat application!!

    You would have to send "font is time new roman, 12pp and", maybe as this
    VB Code:
    1. "f:time new roman~s:12~your_message"

    but if you are using a textbox, you could only change the font and size of everything in the textbox. When you receive, you would split the text on the ~
    and apply the changes.

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: font, font size, font size in chat application!!

    any textfield that can work well with animated GIFs, icon, text.....??

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: font, font size, font size in chat application!!

    nope.. text is text.

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