eJan Posted June 2, 2005 Share Posted June 2, 2005 When i run "SyntaxCheck Ctrl+F5" I've got following error message:C:\Documents and Settings\%USERNAME%\Desktop\FXP.au3(150,53) : ERROR: GUICtrlSetGraphic() [built-in]called with wrong number of args.GUICtrlSetGraphic ($grp, $GUI_GR_RECT, 0, 0, 221, 81)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^Compiled script works normally, I need help to resolve problem.Scite4Autoit: May 18, 2005AutoIt: AutoIt3.1.1.41.zip 27-May-2005 14:28Part of script: #include "GUIConstants.au3"GUICreate("FXP", 226, 88)$grp = GuiCtrlCreateGraphic (2, 4, 221, 81, 0)GUICtrlSetGraphic ($grp, $GUI_GR_COLOR, 0x000000)GUICtrlSetGraphic ($grp, $GUI_GR_RECT, 0, 0, 221, 81) ; ?? $text = GUICtrlCreateLabel("FXP", 8, 10, 209, 29, $SS_SUNKEN)GUICtrlSetBkColor($text, 0xF0EDE3) Link to comment Share on other sites More sharing options...
jpm Posted June 2, 2005 Share Posted June 2, 2005 When i run "SyntaxCheck Ctrl+F5" I've got following error message:Compiled script works normally, I need help to resolve problem.Scite4Autoit: May 18, 2005AutoIt: AutoIt3.1.1.41.zip 27-May-2005 14:28Part of script:<{POST_SNAPBACK}>THe .zip files have to be carefully installed. Mainly replace the current release.If you want to have a cohabitation it is better to use the beta .exe which will setup what is needed for Scite. Link to comment Share on other sites More sharing options...
eJan Posted June 2, 2005 Author Share Posted June 2, 2005 (edited) I have also tried with "setup" version, updated Scite definitions, but same error.Script and capture pics: FlashFXP.rarEDIT:When I edit "GUI_GR_RECT x,y,w,h Draw a rectangle. If w=h it will be a square.", and remove "x, y" cordinates Syntax check finish wihout errorsGUICtrlSetGraphic ($grp, $GUI_GR_RECT, 0, 0, 221, 81) = with errorsGUICtrlSetGraphic ($grp, $GUI_GR_RECT, 221, 81) = without errors Edited June 2, 2005 by eJan Link to comment Share on other sites More sharing options...
jpm Posted June 2, 2005 Share Posted June 2, 2005 I have also tried with "setup" version, updated Scite definitions, but same error.Script and capture pics: FlashFXP.rar<{POST_SNAPBACK}>I see your point with small example you put your first post.I was thinking it was related with Ctrl-F5 which was referencing the official release.But it is the same with Alt-F5 that' reference the beta environment.We need JdeB to help us. Perhaps my environment is wrong as yours 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