ieg
asked on
pocket pc app written in c# - How can I get my form (or parts of it) to scroll.
On a number of my forms the text boxes I would like to enter data in are covered over when the keyboard displays itself on the screen.
Is there a simple way of scrolling my form so that it slides up above the keyboard display and then slides down when the keyboard disappears?
Andy
Is there a simple way of scrolling my form so that it slides up above the keyboard display and then slides down when the keyboard disappears?
Andy
I have toggled many hours on this and i came up with that you cannot but to get around this you just make sure the textbox you wann awrite has focus and then you use the keyboard and it will type in that textbox. I even tried "scrolling the form" But the form if you notice , You cannot change the size of it. .NET makes the form fit the screen. So basically you have no control over the size or position of the form
What about putting your controls onto a panel and hosting the panel on the Form, then you can place one or more scroll bars on the form and alter the Location of the panel hosting your other controls accordingly. Thus you appear to have a scrolling form.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Add a Vertical Scroll Bar to right side of the form
Private Sub vScrollBar1_ValueChanged(B yVal sender As Object, ByVal e As System.EventArgs) Handles vScrollBar1.ValueChanged
Me.Inputpanel1.Top = -Me.vScrollBar1.Value
End Sub
Private Sub vScrollBar1_ValueChanged(B
Me.Inputpanel1.Top = -Me.vScrollBar1.Value
End Sub