avery Posted February 5, 2009 Share Posted February 5, 2009 I am not sure if this a GUI specific issue or not and therefor not sure which forum to post in. If I posted this in the wrong place I apologize and hope an admin can remove my mistake. Does anyone know how to make an Edit control scroll to the bottom on new text. I tried all the combination I could think of documented here: http://www.autoitscript.com/autoit3/docs/a...x/GUIStyles.htm. Currently the only way I can keep the latest status message at top and viewable to the user is to reverse the lines I write so the new ones stay at the top. This looks pretty silly though. Can someone please help me. $status = GUICtrlCreateEdit("", 8, 104, 609, 169, BitOR($ES_AUTOVSCROLL, $ES_READONLY, $ES_WANTRETURN, $WS_VSCROLL)) ... Func _s($line) $_ln += 1 $set_status = GUICtrlRead($status) $line = $line & @CRLF & $set_status ;$line = $set_status & $line GUICtrlSetData($status, "[" & $_ln & "] " & $time & $line & @CRLF) EndFunc ;==>_s Example of my reverse output. I'd like to make the window scroll down on new data and the numbers to be 1, 2, 3, etc not 6, 5, 4, 3 etc. [6] 2009/02/04@22:07:(29) secedit command documented in secedit_cmd.bat [5] 2009/02/04@22:07:(29) _LOGFILE: C:\Program Files\NISP_Utilities\logs\Abox.txt [4] 2009/02/04@22:07:(29) DATABASE: C:\Program Files\NISP_Utilities\config\Abox.sdb [3] 2009/02/04@22:07:(29) TEMPLATE: C:\Program Files\NISP_Utilities\config\Abox.inf [2] 2009/02/04@22:07:(29) Moved template from inf\ to config\ I can post a screen shot or all the code, or email, post / link. Anything. Please. *bangs head here* www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
enaiman Posted February 5, 2009 Share Posted February 5, 2009 Please don't double-post.I have already answered you in this thread http://www.autoitscript.com/forum/index.php?showtopic=89021 SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
avery Posted February 5, 2009 Author Share Posted February 5, 2009 Please don't double-post.I have already answered you in this thread http://www.autoitscript.com/forum/index.php?showtopic=89021Please read the first sentence before you accuse me of double posting. I wasn't sure where it was best suited and apologized and asked for it to be removed. Thanks for the help. www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
BrettF Posted February 5, 2009 Share Posted February 5, 2009 First off.It is a double post. You proved that by mostly everything. What you did also was bump your post by alternate means (creating a new thread). Rules say bump once every 24 hours, not before. it took you what, 5 minutes to become impatient for an answer?If you post in the wrong place it will either get moved, locked or your question answered, so your odds are good. Anyways good luck with your problem in your original thread.Cheers,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! Link to comment Share on other sites More sharing options...
avery Posted February 5, 2009 Author Share Posted February 5, 2009 Folks,I made the posts just minutes apart via a cut-n-paste and asked for one to be deleted if it was in the wrong place -- now it's a double-bump-post? I can't beleive how tough the crowd is I've got more advise on how to make a post then help with the original question/issue. I thought it was a fairly well written plea for someones expert AutoIt advice from someone who has been in the community awhile. It's ok I've learned my lesson and won't be making anymore posts in multiple categories. I'll just pick one and hope it's in the right place. thanks,avery www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
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