BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

forms scalemode

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
bar
Guest





PostPosted: Sun May 20, 2007 9:44 pm    Post subject: forms scalemode Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.