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.....???
Printable View
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.....???
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.
rtb? i use normal textfield only
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.
err......only format for each message
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.
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.......
You would have to send "font is time new roman, 12pp and", maybe as this
VB Code:
"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.
any textfield that can work well with animated GIFs, icon, text.....??
nope.. text is text.