civilcalc Posted October 30, 2008 Posted October 30, 2008 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
BrettF Posted October 30, 2008 Posted October 30, 2008 There are many different options already there for you to use! Take a closer peak in example scripts. You will find it there. Here one:http://www.autoitscript.com/forum/index.php?showtopic=78415Cheers Mate,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
civilcalc Posted October 30, 2008 Author Posted October 30, 2008 There are many different options already there for you to use! Take a closer peak in example scripts. You will find it there. Here one:http://www.autoitscript.com/forum/index.php?showtopic=78415Cheers Mate,BrettThats very cool, but I cant seem to change the font size, any ideas?Thanks
civilcalc Posted October 30, 2008 Author Posted October 30, 2008 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?
maqleod Posted October 30, 2008 Posted October 30, 2008 anyone?maybe adding the $SS_CENTER style to GuiCtrlCreateLabel()? [u]You can download my projects at:[/u] Pulsar Software
Bert Posted October 30, 2008 Posted October 30, 2008 One of the ways I got around the scrolling problem is to embed IE into the GUI and then use the <marquee> tag. Made it easy to manage. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now