generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: TextBox User Focus

Previous Thread :: Next Thread 
floors is not online. floors
Joined: 11 Aug 2008
Total Posts: 6
01 May 2013 07:00 AM
Is it possible to set focus on a textbox, I searched on roblox wiki, but the only thing I found was the CaptureFocus method, but this is locked to normal or local scripts.
I am building a cmdprompt-like Gui with commands for the game, settings, trollings, etc.

Another question I have is why is the "\r\n" or "\n" not working in TextBoxes?

Also, when using a textbox, my shift characters work with ABC don't not with like: (!@#$%^&*)
I don't know if its a bug or just something from my laptop with roblox studio


// CaptureFocus Method:
http://wiki.roblox.com/index.php/CaptureFocus_(Method)
Report Abuse
floors is not online. floors
Joined: 11 Aug 2008
Total Posts: 6
01 May 2013 07:02 AM
* .. ABC but not with ..
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
01 May 2013 07:07 AM
\n works.

TextWrapped = true, try it :)
Report Abuse
floors is not online. floors
Joined: 11 Aug 2008
Total Posts: 6
01 May 2013 07:31 AM
Oh thanks, I didn't checked the past months for that, I just made a whole system of textlabels for that. But do you know if there is a way to focus?
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
01 May 2013 08:14 AM
Not possible. However you could try to take the keys from Player:GetMouse() and when returns is pressed execute that. Expect bugs tough as some keys dont work on there.
Report Abuse
floors is not online. floors
Joined: 11 Aug 2008
Total Posts: 6
01 May 2013 12:49 PM
Thanks for that, I wanted to use it but I did not found that yet, but my main question now is: Is it a bug that my shift characters do not work except the normal alfabeth?
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
02 May 2013 04:18 AM
I can't imagine that's normal. Maybe it's a keyboard setting?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image