About Store Forum Documentation Contact



Post Reply 
Gui textline to string
Author Message
Dynad Offline
Member

Post: #1
Gui textline to string
Hi,

How can u convert a textline to a string?

I tried to use this:

Code:
Str test;

void addMessage(TextLine *t)
{
    test = S+(*name);
}

But the compiler tells me there is not conversion available.


Thnx,
~Dynad

There is always evil somewhere, you just have to look for it properly.
02-01-2010 07:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Chris Offline
Member

Post: #2
RE: Gui textline to string
Str test;
TextLine t;
test=t();

(unchecked)
02-01-2010 07:57 PM
Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #3
RE: Gui textline to string
Or for your function:
Code:
Str test;

void addMessage(TextLine *t)
{
    test = S+(*name)();
}

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
02-01-2010 09:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #4
RE: Gui textline to string
Yes Masterxilo that's it, thnx works now smile

There is always evil somewhere, you just have to look for it properly.
02-01-2010 09:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #5
RE: Gui textline to string
np wink

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
02-01-2010 10:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply