Solved

Scrolling an image in a Windows

Posted on 2004-09-09
5
155 Views
Last Modified: 2010-04-05
I want to show an image in a TForm and if the image is bigger than the window, I want to be able to scroll vertical and horizontal.
Any idea how it can be done?
0
Comment
Question by:rainbowsoftware
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12016357
Use a TScrollBox and a TImage on it with Autosize property
0
 

Author Comment

by:rainbowsoftware
ID: 12016569
I have tried to:
Use a TScrollBox and a TImage on it with Autosize property
but it doesn't work.
Are there any other properties to be set?
0
 
LVL 22

Accepted Solution

by:
Ferruccio Accalai earned 125 total points
ID: 12016678
put a timage on a form
TImage with align alTop and autosize to true...

When you'll load an image bigger than the form scrollbars will appear...

If you need to use just a part of the form so use a TScrollBox, but if the form is the image ccontainer itself do as above
0
 

Author Comment

by:rainbowsoftware
ID: 12016903
Now it works, thanks a lot.
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12016938
Glad to have helped you :)

F68 ;-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet Explorer View Settings Question 15 122
Printing problem 2 110
Delphi XE10 Round Image 2 183
Problem working with dynamic array - help 2 35
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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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