Scrolling a Frame in the form

Vlad77
Vlad77 used Ask the Experts™
on
I have to frames in the form :

----------------
Frame1
----------------
Frame2
----------------

How can I scroll a frame2 up to the frame1 ,so that
frame2 will slowly disapeared when it crossing the frame1.
Like Window of Internet Explorer when it cross Address frame .


Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
a slow and ugly way would be to decrease Frame2.Top in a loop

Author

Commented:
i don't want to change sizes of frame1
Commented:
who said you had to? If Frame2 is ZOrder(0), it would cover Frame1

Commented:
Kimpan is right. Use a Vertical scroll bar and on its Scroll event write the code to decrease the top of Frame 2. When each time the scrollbar is clicked Frame 2 will go up and it would appear that frame 1 is disappearing

Author

Commented:
to, Kimpan, Sethi
Thanks a lot .It's exactly what I wanted !!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial