 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
bar Guest
|
Posted: Sun May 20, 2007 9:44 pm Post subject: forms scalemode |
|
|
Hello all
I have a panel which contain many images boxes and lables.
I want to scroll this panel with the variable speeds.
For this i have code in a timer whose interval is set to 25 milli seconds.
ScrollSpeed = 1;
void __fastcall TfrmMain::Timer1Timer(TObject *Sender)
{
picTickerPanel->Left = picTickerPanel->Left + ScrollSpeed;
}
1.I want to decrease the speed
say ScrollSpeed = .5;
which is not working. Is there any way change the form scale mode to twips
etc.
2.I am getting flickering while scrolling, how to avoid this.
I tried DoubleBuffered = true and ControlStyle >> csOpaque. No use the label
controls are flickering.
any suggestion pls.
Thanks
SA |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|