Skeletor Posted May 5 Share Posted May 5 Hi Devs, I noticed that my GuiEdit.au3 did not have the _GUICtrlEdit_SetPadding included. I saw the release stated this was updated, but not sure why mine did not contain this. Anyways, I could not find this so I created one. Have a look and advise. ; #FUNCTION# ==================================================================================================================== ; Author ........: Skeletor ; Modified.......: ; =============================================================================================================================== Func _GUICtrlEdit_SetPadding($idEdit, $iPaddingX, $iPaddingY) Local $aPos = ControlGetPos("","",GUICtrlGetHandle($idEdit)) Local $aMargin[4] = [$aPos[0] - $iPaddingX, $aPos[1] - $iPaddingY, $aPos[2] + $iPaddingX * 2, $aPos[3] + $iPaddingY * 2] ControlMove($idEdit, "", $aMargin[0], $aMargin[1], $aMargin[2], $aMargin[3]) EndFunc ;==>_GUICtrlEdit_SetPadding Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI Link to comment Share on other sites More sharing options...
Danp2 Posted May 5 Share Posted May 5 What version of AutoIt is listed in the header of your GuiEdit.au3? My copy shows 3.3.16.1 and it contains the function that you state is missing. WebDriver UDF [GH&S] Latest version Wiki FAQs Link to comment Share on other sites More sharing options...
Solution Skeletor Posted May 6 Author Solution Share Posted May 6 Hey @Danp2, It appears that my version was outdate. something like 3.3.14... anyways I have updated it and it now appears. Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI 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