Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi] Marquee

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sat Oct 06, 2007 6:54 am    Post subject: [Delphi] Marquee Reply with quote

Hey everyone,

I'm making a marquee tool. I made most of it, but the main part (marquee) is giving me some trouble. I've been thinking of the best way to "scroll" the text, but none have been working.

I don't want to use a component.

Here's what i tried:
-delphi.about.com's marquee thing..didn't work because i need it to something different, so i can't just use 'Copy'.

-Label.Left:=Label.Left+1 on a timer..But if i do this, then the text like, blinks..

Anyone have any suggestions?

Thanks.
Back to top
View user's profile Send private message
zart
Master Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 351
Location: russia

PostPosted: Sat Oct 06, 2007 10:16 am    Post subject: Re: [Delphi] Marquee Reply with quote

smartz993 wrote:
Hey everyone,

I'm making a marquee tool. I made most of it, but the main part (marquee) is giving me some trouble. I've been thinking of the best way to "scroll" the text, but none have been working.

I don't want to use a component.

Here's what i tried:
-delphi.about.com's marquee thing..didn't work because i need it to something different, so i can't just use 'Copy'.

-Label.Left:=Label.Left+1 on a timer..But if i do this, then the text like, blinks..

Anyone have any suggestions?

Thanks.


Why won't, http://delphi.about.com/library/weekly/aa071100a.htm, work? You could probably modify that so it does work...

_________________
0x7A 0x61 0x72 0x74

TEAM RESURRECTiON
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sat Oct 06, 2007 11:44 am    Post subject: Reply with quote

It won't work because the way Zarko does it uses the Copy function.

All he does is move the first letter to the end..=/
Back to top
View user's profile Send private message
zart
Master Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 351
Location: russia

PostPosted: Sat Oct 06, 2007 12:16 pm    Post subject: Reply with quote

So fill the label with spaces so it extends to the whole form length?
_________________
0x7A 0x61 0x72 0x74

TEAM RESURRECTiON
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sat Oct 06, 2007 12:20 pm    Post subject: Reply with quote

Yea...i was gonna try that, but idk how many spaces i would need..(if ran on different computers..)

So maybe i'll just make some formula. Lol.


************************************************************

FlawedMatrix helped me fix it. Razz

I put the label on top of a panel, and then doublebuffered the panel.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites