atomman Posted December 21, 2007 Share Posted December 21, 2007 i'm very new to AutoIt and am at my wits end with the characteristics of GUICtrlCreateEdit() and _GUICtrlEdit_Create() as neither meets my needs. i've been wrestling with this issue for over a week and am getting nowhere. modifying _GUICtrlEdit_Create() to do what i need is over my head at this point, so i'm seeking someone who'd be willing to do this, or create a new UDF, or walk me through one of the former. i think this would benefit others as well by offering an edit control for AutoIt that feels more like a notepad edit control and fills the niche between a standard edit control and a rich text edit control. requirements are an edit control which... 1) accepts all the properties of GUICtrlCreateEdit() including resizing, *docking*, styles and ex-styles. 2) does NOT select all contents upon focus like GUICtrlCreateEdit() does. so i think what i'm after is similar to the _GUICtrlEdit_Create() UDF with the added ability to be dynamically resized by the form holding it, like GUICtrlCreateEdit() is. Link to comment Share on other sites More sharing options...
GaryFrost Posted December 21, 2007 Share Posted December 21, 2007 Use winmove in conjunction with $GUI_EVENT_RESIZED event 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...
atomman Posted December 21, 2007 Author Share Posted December 21, 2007 Hello again Gary. I see you're the author of _GUICtrlEdit_Create. The reason i asked for a new/modified edit control is so i wouldn't have to dance around the code to get it to do what i want, plus i thought it would be something others (especially new users like myself) could benefit from. Having said that, i'll play with your suggestion and see what my code-fried, caffeine-saturated brain can accomplish. Link to comment Share on other sites More sharing options...
atomman Posted December 22, 2007 Author Share Posted December 22, 2007 Is it possible to modify the default edit control so it's contents are not selected on focus? I really don't wish to waste any more time on this or jump through hoops that are over my head at this point. 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