
how do you make scrollable forms in eVB for the PocketPC ?
Hi pyropete:
Yes, you can make a form scrollable.
1) Set the 'ScaleMode' property of your form to 3-Pixels
2) Set the 'FormResize' property of your form to 2- Movable
3) Make your long form.
On your form you can place a vertical scroll bar. Add this
code to the Change() and Scroll() events.
Private Sub VScroll1_Change()
Form1.Top = VScroll1.Value * -10
End Sub
NOTE: When you scroll the form you have to replace the
Vertical scroll bar or it will go off of the screen and you
wont be able to scroll the form back up again. So you
will have to add this code to the Vscroll1_Change() and
Vscroll1_Scroll() events of the scroll bar.
Vscroll1.Top = 20
---
Good Luck!
Vincent Collura
(Inventor/Engineer)
http://www.CeBeans.com
Did you get your beans Today?
Quote:
> How do you make scrollable forms in eVB for the PocketPC?
> ie:
> i wish to have a form, which is wider than the screen, with a scroll bar
at
> the bottom of the screen to enable different parts of the screen to be
> shown.
> --
> enjoy...
> Pete