Smiley in Chat
Posted: Wed Feb 21, 2018 10:48 pm
I try to put smileys in my chat.
The chatbox is a textbox
I try this:
TextGadget(#edi,10,10,500,300,"")
smile$="This is a text <img src='smile.png' >"
SetGadgetText(#edi,smile)
But the picture is on the left side and the text on the right side.
Then I try this:
smile="This is a text <img src='smile.png' style='float:right ;width:12x;height:12px;'>"
Here the text is left, but the picture is far away on the right side.
I want it like a whats app chat. Text and after text the smily.
Any ideas?
The chatbox is a textbox
I try this:
TextGadget(#edi,10,10,500,300,"")
smile$="This is a text <img src='smile.png' >"
SetGadgetText(#edi,smile)
But the picture is on the left side and the text on the right side.
Then I try this:
smile="This is a text <img src='smile.png' style='float:right ;width:12x;height:12px;'>"
Here the text is left, but the picture is far away on the right side.
I want it like a whats app chat. Text and after text the smily.
Any ideas?