steve8tch Posted February 20, 2006 Posted February 20, 2006 I have had to rewrite an application that displayed its information in a standard DOS command window. In an effort to make the new application 'look' like the old one - I would like to display its information in a similar way. Problem.. When you create an edit window - when you feed information into it - I can get the new data added to the end of the present data - but that data is now displayed off screen at the botton - and you have to scroll down to see it. In a DOS command window - the window continuously scrolls to display the most recent data a the bottom of the screen. Any thoughts on how to achieve this. (easily !! - even I could create some array structures and minipulate these to make it display like a command window - I am hoping that there are some simple settings somewhere Thanks.
GaryFrost Posted February 20, 2006 Posted February 20, 2006 Look at the UDFs in the beta GuiEdit Managment you'll need #include <GuiEdit.au3> and after adding the text to the edit _GUICtrlEditLineScroll ($myedit, 0, _GUICtrlEditGetLineCount ($myedit))) that should do it. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
steve8tch Posted February 20, 2006 Author Posted February 20, 2006 This is wonderful - thankyou All I have to do now is find a font that looks like "Raster Fonts" 8x12. The other thing I really need to check is how much of a 'buffer' - ie text I can have in the text control before the scroll and GUI edit box write function starts to slow down. I will do some testing. Typically this application will only ever be restarted at reboots - and they only occur for security patching Thanks again for you help.
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