These are chat archives for chat-rooms/programming

1st
Aug 2016
Mynewlife
@Mynewlife
Aug 01 2016 09:37
hello people, anyone available with C# experience?
Konstantin Tarkus
@koistya
Aug 01 2016 09:37
Me
Mynewlife
@Mynewlife
Aug 01 2016 09:38
@koistya do you know how to work with textboxes, i have a very specific problem i
would like resolved
Konstantin Tarkus
@koistya
Aug 01 2016 09:38
@Mynewlife WPF textboxes? Not much, I mostly work with web related stuff
Mynewlife
@Mynewlife
Aug 01 2016 09:39
@koistya well, just normal textboxes for winforms
VoidVolker
@VoidVolker
Aug 01 2016 09:50
@Mynewlife yes
Mynewlife
@Mynewlife
Aug 01 2016 09:52
@VoidVolker well, i am right now trying to make a very simple login form with a numerical keyboard and a text box. The text box needs to automatically clear when any button is pressed. Right now it doesn't clear and it just adds the numbers to the text..
VoidVolker
@VoidVolker
Aug 01 2016 09:52
what?
set handler onclick event and clear text box
what the problem?
Mynewlife
@Mynewlife
Aug 01 2016 09:53
@VoidVolker i tried that, then i couldn't write anything in the box. i am making this application for a touch interface
VoidVolker
@VoidVolker
Aug 01 2016 09:54
check your code fro errors
step by step
Mynewlife
@Mynewlife
Aug 01 2016 09:59
@VoidVolker even if you tell me to check step by step, something is not making sense. if i can be more specific i'll try this even though it is very simple:
textbox says: "Enter ID" on load then when any button is pressed the text box clears and replaces the "Enter ID" with the number from the pressed button.
The ID's are multidigit so i need it to go from "Enter ID" to something like "1337"
VoidVolker
@VoidVolker
Aug 01 2016 10:02
@Mynewlife no, there is nothing special you need - you can easy clear text box
Mynewlife
@Mynewlife
Aug 01 2016 10:03
@VoidVolker I know it is easy, but the order it needs to be in doesn't seem to be compliant with my programming :/
press button -> clear text box and add digit | that is how it needs to be
but it only needs to clear the textbox once and it doesn't :/
VoidVolker
@VoidVolker
Aug 01 2016 10:04
@Mynewlife then, you do something wrong, open manual and try again
Mynewlife
@Mynewlife
Aug 01 2016 10:07
im looking for somekind of if statement to check if there is text in the textbox and then replace the text with the numbers :/
VoidVolker
@VoidVolker
Aug 01 2016 10:35
ok