peterbonge Posted June 16, 2004 Share Posted June 16, 2004 Hello again...Under certain circumstances 2 buttons of my gui are disabled. In this case the helpfile defined withGuiCreateEx("notepad readme.txt", -1, icon.ico)doesn't work anymore.If I'm removing the linesGuiSetControlEx($but1,128)GuiSetControlEx($but1,128)it works fine again...By the way: Is it possible to open other formats with GuiCreateEx than just textfiles? Regards,Peter Bonge Link to comment Share on other sites More sharing options...
CyberSlug Posted June 16, 2004 Share Posted June 16, 2004 (edited) Take a look at GuiConstants.au3128 == $GUI_DISABLE which means that a control with that style will appear disabled/grayed-out.GuiCreateEx should support at least TXT, EXE, HLP, CHM. If Adobe Acrobat Reader (or similar program) is installed, I imagine that PDF would work. Edited June 16, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
peterbonge Posted June 16, 2004 Author Share Posted June 16, 2004 I see you don't understand me: I have no problems with disabling buttons. But when a button is disabled the helpfile (F1) defined with GuiCreateEx doesn't work anymore. Button enabled -> F1 works Button disabled -> F1 doesn't work Regards,Peter Bonge Link to comment Share on other sites More sharing options...
CyberSlug Posted June 17, 2004 Share Posted June 17, 2004 Button enabled -> F1 worksButton disabled -> F1 doesn't workAh, now I see what you mean!I recommend posting a small sample script and the version of AutoIt-Gui you are using to the Bugs forum. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
peterbonge Posted June 17, 2004 Author Share Posted June 17, 2004 Now I've found out that only disabling the first button causes this problem. It's strange... I've posted it to the bugs forum. Regards,Peter Bonge 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