Solved

Form Scrolling

Posted on 2003-11-06
5
486 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

815 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

13 Experts available now in Live!

Get 1:1 Help Now