Sign in to follow this  
Followers 0
atomman

requesting modified edit control - new UDF?

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0