Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2002, 04:22 AM
3homer
Guest
 
Posts: n/a
Default i want make a slide picture , i make it with

i want make a slide picture , i make it with

Image1.top:=Image1.top-5 in TTimer

it works ,but the picture always flash

why how to make it without flashing ?


~3homer~
Thanx,very much.
Reply With Quote
  #2  
Old 09-28-2002, 05:02 AM
deadlogic deadlogic is offline
Senior Member
 
Join Date: Dec 2000
Posts: 180
Default RE: i want make a slide picture , i make it with

hi
There is a free compnent called PicShow (search for it in DelphiPages).

have fun ;-))
Reply With Quote
  #3  
Old 09-28-2002, 05:41 AM
simes simes is offline
Senior Member
 
Join Date: Jan 2002
Posts: 2,327
Default RE: i want make a slide picture , i make it with

It flashes because the image is erased then redrawn each time it is moved. The erasure causes the flash, as you briefly see whatever is behind it.

It should be possible to trap the WM_ERASEBKGND message and prevent its effect, but, depending upon your application, it may be easier to draw the moving image directly onto a canvas.

Please click accept if this helps

Simon
SadMan Software
http://www.simes.clara.co.uk
Reply With Quote
  #4  
Old 09-28-2002, 08:04 AM
Saibot Saibot is offline
Senior Member
 
Join Date: Feb 2001
Posts: 275
Default RE: i want make a slide picture , i make it with

on the image's Parnent forms onCreate Write
Form1.DoubleBuffered := True

P.S i have 3 expert point! =)
Reply With Quote
  #5  
Old 09-28-2002, 04:15 PM
3homer
Guest
 
Posts: n/a
Default RE: i want make a slide picture , i make it with

i set Images1.stretch:=ture , its ok !! haha

thank you all !!

~3homer~
Thanx,very much.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.