Annoying scrolling behavior on SmartPhone

S

Scott Gifford

Hello,

I've got a SmartPhone app with a configuration screen that has grown
to have enough items that it needs a scrollbar to see them all. The
layout is the recommended layout, with a Label control above a TextBox
where the value is entered.

Basically it's fine, and as the user moves through the controls the
form scrolls appropriately and everything works.

However, when moving down through the control list then coming back
up, the TextBox will sometimes be scrolled to the top of the form,
leaving the Label above it invisible. The easiest way to see this is
to move down until the first item is no longer visible, then move back
up until it is visible again. The first TextBox will be at the very
top of the screen, with its label off the top of the screen, with no
way to see it.

This must be a common problem, does anybody have suggestions?

I'm using .NET 2.0 and Visual Studio 2008, targetting Windows Mobile
5.0 Smartphone.

Thanks,

----Scott.
 
S

Sagaert Johan

Hi

in the keypress events set the handled to true for the up/down/left/right
biuttons;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top