A
Aaron
I'm using VB.NET and I can't seem to get my PPC app to behave the way
I want to. Simple problem here, but annoying, and I don't know if it
can be fixed but here goes...I have two text fields on a form as well
as 12 buttons that make up a numeric keypad I created. If the user is
in the first text field the keypad will be hidden, if the user puts
the cursor in field two, then the keypad is shown via the GotFocus
event, and when they place the cursor in the first field, keypad is
hidden. Of course this means that when they tap on a keypad button,
focus is lost from text field two and the keypad disappears without
firing it's event.
If I declare a global for the form and assign it when the click on a
keypad button and then in the LostFocus, check that variable before
hiding controls...it doesn't work. So it seems like my variable never
gets set since the LostFocus event is fired before a keypad's button's
OnClick event. Does anyone know of another method of doing this, or
what I can do differently to make this work as I want it to.
Thanks
I want to. Simple problem here, but annoying, and I don't know if it
can be fixed but here goes...I have two text fields on a form as well
as 12 buttons that make up a numeric keypad I created. If the user is
in the first text field the keypad will be hidden, if the user puts
the cursor in field two, then the keypad is shown via the GotFocus
event, and when they place the cursor in the first field, keypad is
hidden. Of course this means that when they tap on a keypad button,
focus is lost from text field two and the keypad disappears without
firing it's event.
If I declare a global for the form and assign it when the click on a
keypad button and then in the LostFocus, check that variable before
hiding controls...it doesn't work. So it seems like my variable never
gets set since the LostFocus event is fired before a keypad's button's
OnClick event. Does anyone know of another method of doing this, or
what I can do differently to make this work as I want it to.
Thanks