Solved

pocket pc app written in c# - How can I get my form (or parts of it) to scroll.

Posted on 2003-12-05
4
699 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:ieg
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 9882241
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
0
 
LVL 6

Expert Comment

by:purpleblob
ID: 9882590
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.
0
 
LVL 6

Accepted Solution

by:
purpleblob earned 250 total points
ID: 9882607
Sorry I should have also stated that obviously the panel is made taller and/or wider than the form, thus it scrolls.

Also found this link http://samples.gotdotnet.com/quickstart/compactframework/ click on the Scrolling Form Contents
link- it looks like it's doing what I suggested in the previous response :-)
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 9882857
Add a Vertical Scroll Bar to right side of the form

 Private Sub vScrollBar1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles vScrollBar1.ValueChanged
        Me.Inputpanel1.Top = -Me.vScrollBar1.Value
   End Sub
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cell phone carriers - CDMA?  GSM? 4 65
iOS Simulator for Windows? 2 187
sumNumber challenge 16 137
Best bluetooth visor clips 1 26
Progress means simplifying, not complicating. Bruno Munari Preface How to detect the name of the internal storage or an SD-card on Windows Mobile device from the desktop application? I got this question, when I was working on a PC applicati…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question