fi3ldy Posted February 7, 2007 Share Posted February 7, 2007 (edited) i have my basic guictrlcreatedit box..it has scrollbars vertical and horizontal, is editable by the user and has a border, i need to remove the scrollbars, remove the border if possible (light blue default), and make it readonly. ive tried a many ways, and im not to sure on how to use Bit functions , altho i had a go at BitOr which didnt work for me also when i have succeeded to an extent, i get problems such as the text box doesnt move up or down as it doesnt have scrollbars, it stays in one position to the other text is not viewable. i know that must have been boring to read and i appologise but this is really bugging me!!! any help/advise appriciated. thank you Edited February 7, 2007 by fi3ldy Link to comment Share on other sites More sharing options...
GEOSoft Posted February 7, 2007 Share Posted February 7, 2007 Try $Edit = GUICtrlCreateEdit('',20,20,200,400,0x0800)oÝ÷ Ù©Ýü¨»§¶Ø^µìmqéíz·jëh×6$Edit = GUICtrlCreateEdit('',20,20,200,400,0x0801)oÝ÷ ØêÚºÚ"µÍÌÍÑY]HÕRPÝÜX]QY] ÌÎNÉÌÎNË ÈJoÝ÷ ØêÚºÚ"µÍÌÍÑY]HÕRPÝÜX]QY] ÌÎNÉÌÎNË ]ÔJJoÝ÷ ØêÚºÚ"µÍÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÂÌÍÑY]HÕRPÝÜX]QY] ÌÎNÉÌÎNË ]Ü ÌÍÑT×ÔPQÓK ÌÍÑT×ÐÑSTJ I can't remember if that gave me the Vert scroll as required or not and none of the above will remove the border George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
fi3ldy Posted February 7, 2007 Author Share Posted February 7, 2007 thx for reply. i use just $ES_READONLY or 0x0800, it makes it readonly but the text isnt viewable, asin i cannot see all of the text, only the proportion that is in the box size, the text underneath i am not able to view by dragging the mouse down etc Link to comment Share on other sites More sharing options...
quaizywabbit Posted February 9, 2007 Share Posted February 9, 2007 (edited) see _TargetStyle() in ANYGUI in my signature. changing styles usually means the control needs repainting(update) to see the change properly. Edited February 9, 2007 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
GaryFrost Posted February 10, 2007 Share Posted February 10, 2007 GUICtrlSendMsg($Edit , $EM_SETREADONLY, True, 0) GUICtrlSetBkColor($Edit , 0xFFFFFF) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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