editBox navigation

  • Thread starter Thread starter glenn
  • Start date Start date
G

glenn

Can anyone tell me why my visual studio.net compact framework application
will not move to a new field when a tab or enter key is pressed?

I have added code to force the fields to move so that when using a keyboard
you can move through the fields on the form but that is a pain and wondering
if there is a better way.

Also, I have buttons on the form that when clicked receive cursor focus and
therefore remove the focus from the active field just before the button was
pressed. Is there an easy way to determine the previous field that had
focus?

Thanks,

cybercrypt
 
Perhaps I am missing something in my app that I need to add manually. I
found that tutorial and read it but it does not help me. I would expect
what it says to be true, however, what I am seeing is very different. For
example: I have a form with 3 textboxes on it. I can click in a text box,
click up the on screen keyboard, or use my external keyboard, and pressing
tab or enter does nothing to the focus of that field.

Is there something I need to do in order to enable this feature?

Thanks,

glenn


Stuart Celarier said:
Glenn said:
my framework application will not move to a new field when a tab or
enter key is pressed

Have you read the "Tab Order and Focus" QuickStart Tutorial [1]? If not,
that's a great place to start.

Cheers,
Stuart Celarier, Fern Creek

[1]
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/tabbing.asp
x
 
Make sure that you're running CF SP2.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

glenn said:
Perhaps I am missing something in my app that I need to add manually. I
found that tutorial and read it but it does not help me. I would expect
what it says to be true, however, what I am seeing is very different. For
example: I have a form with 3 textboxes on it. I can click in a text box,
click up the on screen keyboard, or use my external keyboard, and pressing
tab or enter does nothing to the focus of that field.

Is there something I need to do in order to enable this feature?

Thanks,

glenn


Stuart Celarier said:
Glenn said:
my framework application will not move to a new field when a tab or
enter key is pressed

Have you read the "Tab Order and Focus" QuickStart Tutorial [1]? If not,
that's a great place to start.

Cheers,
Stuart Celarier, Fern Creek

[1]
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/tabbing.asp
x
 
Alex,

I'm sorry but I'm new to all this stuff. I just purchased VS.net and I
downloaded and installed the SDK for the handheld stuff. Not sure if that
is what you are talking about or if there is an update for VS.net. When I
click the check for updates button on my VS program it gives an error and
won't check so not sure what to do with that...

Thanks,

glenn


Alex Yakhnin said:
Make sure that you're running CF SP2.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

glenn said:
Perhaps I am missing something in my app that I need to add manually. I
found that tutorial and read it but it does not help me. I would expect
what it says to be true, however, what I am seeing is very different. For
example: I have a form with 3 textboxes on it. I can click in a text box,
click up the on screen keyboard, or use my external keyboard, and pressing
tab or enter does nothing to the focus of that field.

Is there something I need to do in order to enable this feature?

Thanks,

glenn


Stuart Celarier said:
Glenn wrote:
my framework application will not move to a new field when a tab or
enter key is pressed

Have you read the "Tab Order and Focus" QuickStart Tutorial [1]? If not,
that's a great place to start.

Cheers,
Stuart Celarier, Fern Creek

[1]
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/tabbing.asp
x
 
Check out this ols post by Alex Feinman:

http://www.google.com/[email protected]&rnum=2

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

glenn said:
Alex,

I'm sorry but I'm new to all this stuff. I just purchased VS.net and I
downloaded and installed the SDK for the handheld stuff. Not sure if that
is what you are talking about or if there is an update for VS.net. When I
click the check for updates button on my VS program it gives an error and
won't check so not sure what to do with that...

Thanks,

glenn


Alex Yakhnin said:
Make sure that you're running CF SP2.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

glenn said:
Perhaps I am missing something in my app that I need to add manually. I
found that tutorial and read it but it does not help me. I would expect
what it says to be true, however, what I am seeing is very different. For
example: I have a form with 3 textboxes on it. I can click in a text box,
click up the on screen keyboard, or use my external keyboard, and pressing
tab or enter does nothing to the focus of that field.

Is there something I need to do in order to enable this feature?

Thanks,

glenn


Glenn wrote:
my framework application will not move to a new field when a tab or
enter key is pressed

Have you read the "Tab Order and Focus" QuickStart Tutorial [1]? If not,
that's a great place to start.

Cheers,
Stuart Celarier, Fern Creek

[1]
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/tabbing.asp
x
 
Back
Top