br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
You know how there's a TextBox Gui, right? Well, with the script I'm trying to make, an IntBox Gui would come in REALLY handy. Haven't you scripters ever wanted a gui that only lets you type in non-decimal numbers, not letters? I need one, and I'm sure there's other uses for it, as I'm sure there's other uses for the TextBox. Here's a Diagram of what I think it's properties would be:
--Data
AbsolutePosition
AbsoluteSize
Active
BackgroundColor3
BackgroundTransparency
BorderColor3
BorderSizePixel
ClearTextOnFocus
Draggable
Font
FontSize
MultiLine
Name
Parent
Position
Size
SizeConstraint
Value
ValueBounds
ValueColor3
ValueFits
ValueTransparency
ValueWrap
ValueXAlignment
ValueYAlignment
Visible
ZIndex
className
--Behavior
archivable
(end of Properties)
If you support, that'd be great, because I was wondering to myself, "Why isn't there an IntBox already?" |
|
|
|
I have no idea what you just said... so I have to support. It sounds useful... |
|
|
I like the idea, and I think I've needed an instance like that before...
Support. Definitely. |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Cool, you guys all supported. Anyone else support? |
|
|
I have no idea what it is good for, but that's only because I am not ascripter... -.- |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
That's ok. |
|
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
That's four supports, cool. By the way, all I did to make the properties was I took a TextBox Gui, typed out it's properties, then changed all the 'Text's to 'Value's, and the className from 'TextBox' to 'IntBox', but it looks about right, right? |
|
rasackJoin Date: 2010-11-04 Post Count: 4 |
I like the Idea. Support. |
|
|
Hmm, you mean like a number text box gui? Cool, that'd be useful for entering numbers with Guis...
Support. |
|
sinserJoin Date: 2008-05-30 Post Count: 5923 |
I barley understand this, it sound good. Support. |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
While we're at it, why not make a NumberBox one too? |
|
|
Support. It could come in use for some projects. : )
-Virtualdarks |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Cool, and hey Virtualdarks, sorry about earlier in that other post. |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Bring
Up
My
Post |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Bring
Up
My
Post
Do you guys not know what a Text box is? It's a type of Gui that lets you type in letters in-game, I'm proposing to make an IntBox Gui, one that only lets you type in Numbers in-game. |
|
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
this has nothing to do with this post, but I didn't feel like making a new thread about it. I currantly have normal Bc, right? well... check this out:
http://gametest.roblox.com/User.aspx?ID=12143765
In gametest, I have OBC! How'd that happen?! |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Oops, that's the wrong link LOL, here's the right one(Epic Fail):
http://gametest.roblox.com/User.aspx?ID=11484006 |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Anyways, does anyone else support? |
|
|
Support. I have no idea what you actually mean. But, I still supports. |
|
br45enteiJoin Date: 2010-11-06 Post Count: 1058 |
Bring
Up
My
Post
Reminder Text:
Do you guys not know what a Text box is? It's a type of Gui that lets you type in letters in-game, I'm proposing to make an IntBox Gui, one that only lets you type in Numbers in-game. |
|
coploxJoin Date: 2008-06-07 Post Count: 3252 |
num = tonumber(TextBox.Text)
Problem solved! |
|
|
textbox.Changed:connect(function(Prop)
if Prop == "Text" and textbox.Text:match("%d+") == textbox.Text then -- there's better ways of doing this I'm sure
print("da text is a whol number")
Num = tonumber(textbox.Text)
else
print("ogm nob u dint type in a whol number")
error("NOOOOOOOOOOB")
end
end) |
|