Synapse Posted October 29, 2007 Posted October 29, 2007 Hi...i`ve made a button with some colors on...like the one in the screenshot...The problem is...that when i click it...it makes more then 1 push...is acting like i have pushed it several time....any ideea y is it doing this strange thing???CODE:$Button_OK = GUICtrlCreateButton("OK", $widtho - 160, $heighto - 37, 75, 25, 0) GUICtrlSetFont(-1, 8, 100, 0, "Verdana") GUICtrlSetBkColor(-1, 0x686a65) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetCursor (-1, 0)
BrettF Posted October 29, 2007 Posted October 29, 2007 Hi...i`ve made a button with some colors on...like the one in the screenshot... The problem is...that when i click it...it makes more then 1 push...is acting like i have pushed it several time....any ideea y is it doing this strange thing??? CODE: $Button_OK = GUICtrlCreateButton("OK", $widtho - 160, $heighto - 37, 75, 25, 0) GUICtrlSetFont(-1, 8, 100, 0, "Verdana") GUICtrlSetBkColor(-1, 0x686a65) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetCursor (-1, 0)More code will be needed... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Synapse Posted October 29, 2007 Author Posted October 29, 2007 More code will be needed...There`s no much code to show....there`s a GUI with that button....and a Switch Case thing with a message box.....when i`m clicking the button the message box shows me the mesaage 2 or 3 time.......
GaryFrost Posted October 29, 2007 Posted October 29, 2007 http://www.autoitscript.com/forum/index.php?showtopic=53341 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Synapse Posted October 29, 2007 Author Posted October 29, 2007 There`s no much code to show....there`s a GUI with that button....and a Switch Case thing with a message box.....when i`m clicking the button the message box shows me the mesaage 2 or 3 time.......and if i comment the styles thing from the button it all work just fine...how it should
Synapse Posted October 29, 2007 Author Posted October 29, 2007 http://www.autoitscript.com/forum/index.php?showtopic=53341Thx...yes thats the problem i`m talking about.....
picaxe Posted October 29, 2007 Posted October 29, 2007 Does it work with lastest beta or with GUICtrlSetBkColor and GUICtrlSetColor commented out in the current v3.2.8.1There's a bug in the current v3.2.8.1, fixed in the latest beta, seehttp://www.autoitscript.com/forum/index.php?showtopic=53366http://www.autoitscript.com/forum/index.php?showtopic=53341
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