[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

image

Posted on 1998-11-20
1
Medium Priority
?
148 Views
Last Modified: 2012-05-04
Hello, how to move an image to left or to top that
the image wont twinkle.
0
Comment
Question by:ILPowerSoft
1 Comment
 
LVL 4

Accepted Solution

by:
BoRiS earned 80 total points
ID: 1347450
ILPowerSoft

procedure TFom1.Button1Click(Sender: TObject);
begin
 LockWindowUpdate(Form1.Handle);
  Image1.Left := 0;
  Image1.Top := 0;
 LockWindowUpdate(0);
end;

Check the win32.hlp file for more info on LockWindowUpdate API

Later
BoRiS
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

830 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