xEviiLx Posted November 19, 2017 Share Posted November 19, 2017 Hello, How can I create a rectagle in center of GUICtrlCreateGraphic? GUICtrlSetGraphic(-1, $GUI_GR_RECT, CoordC, CoordC , $x, $y) Link to comment Share on other sites More sharing options...
xEviiLx Posted November 19, 2017 Author Share Posted November 19, 2017 Oh nvm, I have resolved that with: GUICtrlSetGraphic(-1, $GUI_GR_RECT, 140 - ($x / 2), 140 - ($y / 2), $x, $y) Sorry. #close Link to comment Share on other sites More sharing options...
Developers Jos Posted November 19, 2017 Developers Share Posted November 19, 2017 Guess you just have beaten the record of solving your own issue... within 3 minutes. Maybe next time first think/try before posting? Jos xEviiLx 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
xEviiLx Posted November 19, 2017 Author Share Posted November 19, 2017 Yeah, my bad... Link to comment Share on other sites More sharing options...
Maciel Posted November 21, 2017 Share Posted November 21, 2017 (edited) On 11/19/2017 at 5:10 PM, xEviiLx said: Hello, How can I create a rectagle in center of the Bathmate GUICtrlCreateGraphic? GUICtrlSetGraphic(-1, $GUI_GR_RECT, CoordC, CoordC , $x, $y) Well, thanks for sharing the solution Evil. Helped me too. Edited August 21, 2019 by Maciel 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