✅ Input boxes not working
This is an assignment I am currently working on, everything runs without errors but I can't get the white boxes to work to input numbers. What am I missing? The goal is to put numbers in tickets sold and use calculations to see how much revenue is generated. I can't test my calculations since I can't input the numbers.

25 Replies
What exactly do you mean by "can't input the numbers"?
@Nightswyng
I don't get a response from the white boxes when running the program, so I can't enter numbers in it

I need to be able to put the sale numbers into the ticket sold boxes for each class
again, what does "don't get a response" mean here?
textboxes dont usually respond
while the program is running, can you click them? do they get focused? can you tab to them?
can you type text in them?
No i cant write anything in them while the program is running
the buttons work, calculate, clear, exit, those respond but I don't get a response otherwise
okay, can you show the content of the "Form1.Designer.cs" file
and please use $code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/I dont know what that is
BlazeBin - dfpswtcccznw
A tool for sharing your source code with the world!
I hope that worked, I am still very green to this
Yep thats what I wanted
Let me look it over
Thank you
Well, for starters I can reproduce it locally with your file
oooh
I see it
they are labels, not textboxes

indeed
a
Label
is only for displaying something, not for taking input
you need to use the TextBox
control typeTHANK YOU!
I couldn't figure out what i did wrong!
🙂
you also want to look a bit on the calculation of the total
What do you mean with the calculations? did I fill that out wrong too?
yep, prices are gonna be a bit inflated as it currently is 😛
you are doing a certain calculation twice
ok thank you I will review that, I just couldn't get that far to test it out
I caught it! Thank you so much again!
Please
/close
the thead when you are done 🙂
and if you need more help, open anotherSorry was editing, I will close it now