Jump to content
Sign in to follow this  
civilcalc

Guictrlsetpos

Recommended Posts

civilcalc

I want to use guictrlsetpos to move a portion text around the screen as if its scrolling, but whenever I get it moving smoothly enough it flickers as it moves.

any ideas?

$i = 800

Guictrlcreatelabel("message",0,$i,1000,100)

While 1

Sleep(200)

$i = $i -3

GUICtrlSetPos($scroll,0,$i)

Wend

Share this post


Link to post
Share on other sites
BrettF
civilcalc

got it!

just add

$_marIE.document.body.style.font="60px Verdana"

and its done,

now all i need to do is center the text....... any ideas?

Share this post


Link to post
Share on other sites
civilcalc

anyone?

Share this post


Link to post
Share on other sites
maqleod

anyone?

maybe adding the $SS_CENTER style to GuiCtrlCreateLabel()?


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×