Hi,
I want to extend this example to make it for multiplayer environment. I am trying to make a visual chat editor like msn or yahoo. But i am not able to make text editor in a efficient way.
function TextEingeben()
{
//str_cursor(input_str);
if(inkey_active)
{
return;
}
str_cpy(input_str,"#100");
inkey(input_str);
while(result==13)
{
//temp = str_cursor(input_str);
//chat_input.pos_y += 5;
str_cat(input_str,"\n");
wait(1);
inkey(input_str);
}
/*if(result==13)
{
if(str_cmpi(input_str,""))
{
return;
}
NachrichtAnServerSenden();
}*/
}
as you can see i can go to next line after pressing enter. But i want to go to next line after a specific width of window in a panel.
I would appreciate any help