?
Solved

Stop the toolbar scrolling?

Posted on 2001-06-22
2
Medium Priority
?
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
Cesario earned 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

801 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