Babulesnik
Member
Create chatbox
How to make on the contrary? From the Textline in text.
Str text;
chat.getTextLine("chat_enter").set(text);
02-03-2011 03:01 PM
Esenthel
Administrator
RE: Create chatbox
text=chat.getTextLine(..)();
02-03-2011 09:14 PM
Babulesnik
Member
RE: Create chatbox
(02-03-2011 09:14 PM) Esenthel Wrote: text=chat.getTextLine(..)();
Thanks.
How to change font TexLine?
02-03-2011 11:12 PM
Babulesnik
Member
RE: Create chatbox
The given code adds a line from below upwards. How to make on the contrary? And how to make that a text alignment was on the left edge?
if (Kb.bp(KB_ENTER))
{
text_enter=lobbi_chat.getTextLine("chat_enter")();
lobbi_chat.getText("chat_list").set(chat_text.insert(0,text_enter+"\n"));
lobbi_chat.getTextLine("chat_enter").clear();
}
How to make color sharing in line? Tried this code but it did not turn out ( deduces once
lobbi_chat.getText("chat_list").code(S+"[color=FFFFFFFF]"+nik+
"[/ color]\n");
Here that I want to make sketches:
Attached File(s)
Image(s)
02-04-2011 11:36 PM
Esenthel
Administrator
RE: Create chatbox
[/ color] -> [/color]
02-05-2011 12:02 PM
Babulesnik
Member
RE: Create chatbox
(02-05-2011 12:02 PM) Esenthel Wrote: [/ color] -> [/color]
Excuse, but I have not understood. It is possible on an example?
How to make, what text displacement was on the left edge?
02-05-2011 05:47 PM
MikeyUchiha
Member
RE: Create chatbox
(02-05-2011 05:47 PM) Babulesnik Wrote: (02-05-2011 12:02 PM) Esenthel Wrote: [/ color] -> [/color]
Excuse, but I have not understood. It is possible on an example?
How to make, what text displacement was on the left edge?
Notice the space in the first color. Because you added that space, you're getting a result you didn't expect.
Make sure you do /color and NOT/ color.
02-07-2011 09:32 AM
Babulesnik
Member
RE: Create chatbox
(02-07-2011 09:32 AM) MikeyUchiha Wrote: (02-05-2011 05:47 PM) Babulesnik Wrote: (02-05-2011 12:02 PM) Esenthel Wrote: [/ color] -> [/color]
Excuse, but I have not understood. It is possible on an example?
How to make, what text displacement was on the left edge?
Notice the space in the first color. Because you added that space, you're getting a result you didn't expect. Make sure you do /color and NOT/ color.
Please write an example, I understand very little English...
02-15-2011 04:54 PM
Dynad
Member
RE: Create chatbox
Just remove the space between the / and color
There is always evil somewhere, you just have to look for it properly.
02-15-2011 04:57 PM
Babulesnik
Member
RE: Create chatbox
With what objects Esenthel can create a chat room? I tried to use Text, but collided with a small number of methods in this object ...
Please help who knows or has already created a chat room.
Attached File(s)
Image(s)
02-15-2011 05:17 PM