On Fri, Jul 31, 2009 at 18:23, Krankzinnig<[email protected]> wrote: > As the subject suggests, I have a Textbox but everything I try always returns > the label as a string. I need the actual text inputted to the textbox to be > returned so I can send it across the network. I tried the copystring command > but > once again, it returned my label. >
You have to use AG_TextboxBindUTF8 or AG_TextboxBindASCII to bind a character string to the textbox that will contain what you insert on it. For example: char name[100]; AG_Textbox *textbox; textbox = AG_TextboxNew(parent_widget, 0, "Name: "); AG_TextboxBinfUTF8(texbox, name, sizeof(name)); I hope this help you solve your problem. Regards, Ernesto _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
