Solved

Form Scrolling

Posted on 2003-11-06
5
484 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 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

8 Experts available now in Live!

Get 1:1 Help Now