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
|
  |
| Joined: 11 Aug 2008 |
| Total Posts: 6 |
|
| |
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 01 May 2013 07:07 AM |
\n works.
TextWrapped = true, try it :) |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|