Solved

Form Scrolling

Posted on 2003-11-06
5
485 Views
Last Modified: 2010-05-01
I asked a question a while ago...here at :
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20787844.html

and then someone responded to me and sent me here for the code:

http://www.freevbcode.com/ShowCode.Asp?ID=1230 


that worked good and how i wanted it too, but when I scroll, the data inside a Frame scrolls, instead of just staying stationary and scrolling with the frame control. What do i do to fix this
0
Comment
Question by:bladefist
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
Filex earned 50 total points
ID: 9697085
I downloaded this code and looked at it, make sure in the calculation in the scroll bars etc you put the whole frame and others you want to be moved... The code tells it to move EVERY componant in the form and not just certain ones... IE: "For Each ctl In Me.Controls".

You could try to get around this by specifying the items specifically you wish to move (frames) in the code, or tell it to skip on certain ones and then it wont move them on scroll them. If it were me and I had frames I wanted to move, I would specify each frame to be moved by itself in the scroll bar code.
0
 
LVL 1

Author Comment

by:bladefist
ID: 9697225
I understand how to specify to not move a control, but how do i specify to move a specific control. like how do i make it not move "fraTest"
0
 
LVL 1

Author Comment

by:bladefist
ID: 9697278
Thanks...I think I figured it out. I have frames inside of frames so this is gonna be a pain in the ass.
0
 
LVL 1

Author Comment

by:bladefist
ID: 9697398
If I have Frame1 on form, and then I have Frame2 inside Frame1, How do i Make it so that Frame1 scrolls, but Frame2 holds its place in frame 1?
0
 

Expert Comment

by:Filex
ID: 9700363
Well, You should not need to scroll anything inside a frame, just scroll the outside frames, only the ones that are direct "children" of the main form. You should not need to scroll anything inside the direct "children" frames.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now