![]() |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
hi
There is a free compnent called PicShow (search for it in DelphiPages). have fun ;-)) |
|
#3
|
|||
|
|||
|
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. Simon SadMan Software http://www.simes.clara.co.uk |
|
#4
|
|||
|
|||
|
on the image's Parnent forms onCreate Write
Form1.DoubleBuffered := True P.S i have |
|
#5
|
|||
|
|||
|
i set Images1.stretch:=ture , its ok !! haha
thank you all !! ~3homer~ Thanx,very much. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|