View Single Post
  #2  
Old 01-06-2006, 12:22 AM
Kronan Kronan is offline
yo
Kronan's Avatar
Join Date: May 2001
Location: Florida, USA
Posts: 682
Kronan is on a distinguished road
Send a message via ICQ to Kronan Send a message via AIM to Kronan Send a message via Yahoo to Kronan
I don't quite understand why you deleted your thread from the GS2 forum, that was in the CORRECT forum for this question. But here is what I had posted there.

Your problem is because you're using getselectedtext(). That does not do what you want it to do. You want to be using gettext().

http://wiki.graal.us/GScript - Please use this, it can be your best friend when you need to look something up.

I took this right from the wiki:

Quote:
GuiButtonBaseCtrl (GuiControl):
buttontype - string
checked - boolean
groupnum - integer
text - string
gettext() - returns string
performclick()
settext(str)
__________________
Reply With Quote