09-09-2009, 07:12 AM
so basically, im making a kids program with a chalkboard idea. and i have many textboxes. BUT the backcolour does not fit in and u cannot paste a image into the text box or get a custom back colour. so how do i get this backcolour onto the textbox OR how can i make a custom text box.
thanks in advance
09-09-2009, 08:28 AM
The TextBox control has a property that very easily lets you set the background color with no need for customization or special tricks. The name of the property is BackColor. This can be changed either at design time or while the program is running.
09-09-2009, 10:30 AM
The form itself or a Picturebox control have functions that allow you to draw text and create simple line geometry. It is very much like a chalk board in that you do not have any text editing built in. Lines, Arcs, Circles, and text all can be drawn on top of each other. You use the CurrentX and CurrentY methods to position your text.
.CurrentX = 500
.CurrentY = 1000
Picture1.Print "Hello World"
BTW wouldn't MS Paint fill the bill as your chalk board?
09-09-2009, 04:31 PM
i mean, i am making a volume/area program. this means i need inputs, which come from the text boxes. and the back colour of my text box is not a common green so to speak
09-09-2009, 10:48 PM
Like I said, find the text box in the IDE design view and go to the object property area and change the BackColor property to the green of your choosing.