Vert Posted September 28, 2006 Share Posted September 28, 2006 (edited) Recently, I have built a program that changes the background color of a particular Input box whenever the mouse cursor runs over a certain color. For example, if the user's mouse is placed on the navy-blue banner at the top of these forums, the box should change to that exact color. When I do a debug run in Scite, it changes color and works perfectly, but if I run it without the debugger, it will not change color at all. Anyone know if that would be a programming error on my part, or if there is something I'm missing? Thanks. Edit: Doesn't look like I can change the background color of my input boxes as a whole when running outside of the standard Scite "Beta Run" mode...which means it wasn't a programming error on my side. Edited September 29, 2006 by Vert Link to comment Share on other sites More sharing options...
GaryFrost Posted September 29, 2006 Share Posted September 29, 2006 Pretty hard to tell with-out any code to look at. 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...
Vert Posted September 29, 2006 Author Share Posted September 29, 2006 #include <GUIConstants.au3> $Form1 = GUICreate("Example", 622, 441, 192, 125) $Input1 = GUICtrlCreateInput("", 88, 24, 105, 21, -1, $WS_EX_CLIENTEDGE) GUICtrlSetColor($Input1, 0) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit Just as a smaller example. It should turn the input box black. It does when I do a beta run, but open compilation or by running it standardly, it does nothing. Link to comment Share on other sites More sharing options...
Helge Posted September 29, 2006 Share Posted September 29, 2006 Sounds like you're running good old 3.1.1 at default when running them from explorer. Link to comment Share on other sites More sharing options...
Vert Posted September 29, 2006 Author Share Posted September 29, 2006 Sounds like you're running good old 3.1.1 at default when running them from explorer.I could swear up and down I already updated a LONG time ago, but apparently I didn't.Problem solved, thanks for the help. Link to comment Share on other sites More sharing options...
Helge Posted September 29, 2006 Share Posted September 29, 2006 No problem. Btw, incase you didn't know the following file toggles stable/beta :%programfiles%\AutoIt3\beta\Extras\Toggle AU3 Beta.au3 I don' think beta sets itself to run scripts when installing it, at least it didn't before. 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