Solved

Stop the toolbar scrolling?

Posted on 2001-06-22
2
204 Views
Last Modified: 2010-04-04
Hi.

I've got a form with a TImage and a TToolbar on it.  There's a drop-down on the toolbar that has magnification factors in it (from 50%-150%).  The user can select these to increase/decrease the size of the TImage.  (Usual zoom in & out stuff.)

The problem I have is that when the image is BIG (bigger than the screen), the form gains a scrollbar.  This in itself is great as it means I don't have to code any scrolling of the image myself, but it does mean that if you scroll down, the toolbar goes up as well.

I need to just scroll the image, nothing more.

Any ideas?

Thanks,

John.
0
Comment
Question by:Jaymol
2 Comments
 
LVL 8

Accepted Solution

by:
Cesario earned 100 total points
ID: 6217396
Hi Jaymol,

a work around:

1) Add a TScrollbox to your form
2) Set Tscrollbox.Align := alclient
3) Place the TImage to TScrollbox

ciao

Cesario

0
 
LVL 6

Author Comment

by:Jaymol
ID: 6217421
Thanks Cesario.  That's exactly what I needed.

Ta,

John.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 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