About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Text form
Author Message
WiLLyRS Offline
Member

Post: #1
Text form
Hi! I'm new on this engine and I can't find a solution neither in the forum neither in the gui advanced tutorial. I want to show a text form box with a button that will save the text written by the user and use it, just like a classic mmorpg login, can you guys help me?
04-28-2011 10:44 AM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #2
RE: Text form
Well you can add a button function. In this button function you can do this for example:

PHP Code:
TextLine *name, *password;

    
name getTextLine("name");
    
password getTextLine("password");

    if ((*
name)() && (*password)())
    {
        
accname =(*name)();
        
accpass = (*password)();
       } 

There is always evil somewhere, you just have to look for it properly.
04-28-2011 10:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
WiLLyRS Offline
Member

Post: #3
RE: Text form
Thanks, does it need other libraries? Visual studio 2010 tells me 'getTextLine': identifier not found :\
(This post was last modified: 04-28-2011 12:11 PM by WiLLyRS.)
04-28-2011 12:11 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Text form
tutorial : 08 - Loading Gui Objects.cpp
04-28-2011 12:15 PM
Find all posts by this user Quote this message in a reply
WiLLyRS Offline
Member

Post: #5
RE: Text form
Thanks to both, i'll look into them!

EDIT: it works, thanks!
(This post was last modified: 04-28-2011 07:00 PM by WiLLyRS.)
04-28-2011 12:25 PM
Find all posts by this user Quote this message in a reply
Post Reply