Matteo Posted September 12, 2007 Share Posted September 12, 2007 (edited) I have a question: how I can create a line curve (in a GuiCtrlCreateGraphic) without that it closes?? I try whit GuictrlSetGraphic and $GUI_GR_NOBKCOLOR, but it does not work...Please help me ... PS: I'm a Italian so sorry for my bad english...XD Edited September 12, 2007 by Matteo ,.-~*´¨¯¨`*·~-.¸-(_[M]¦¦[A]¦¦[T]¦¦[T]¦ ¦[E]¦¦[O]_)-,.-~*´¨¯¨`*·~-.¸ Link to comment Share on other sites More sharing options...
martin Posted September 12, 2007 Share Posted September 12, 2007 I have a question: how I can create a line curve (in a GuiCtrlCreateGraphic) without that it closes??I try whit GuictrlSetGraphic and $GUI_GR_NOBKCOLOR, but it does not work...Please help me ...PS: I'm a Italian so sorry for my bad english...XDWelcome to the forum. I don't see your English is much of a problem. Does 'without that it closes??' mean the curve or the gui?Could you post your code? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
DjDeep00 Posted September 12, 2007 Share Posted September 12, 2007 Maybe he means to draw a half a circle... If so then try this... $a[5]=GuiCtrlCreateGraphic(150, 10, 50,50,0) GUICtrlSetGraphic(-1,$GUI_GR_COLOR, 0x0000ff) GUICtrlSetGraphic(-1,$GUI_GR_BEZIER, 0,100, 200,20, 200,100) GuiSetState() EndFunc Link to comment Share on other sites More sharing options...
Matteo Posted September 12, 2007 Author Share Posted September 12, 2007 tanks DjDeep00, i meant this. ,.-~*´¨¯¨`*·~-.¸-(_[M]¦¦[A]¦¦[T]¦¦[T]¦ ¦[E]¦¦[O]_)-,.-~*´¨¯¨`*·~-.¸ Link to comment Share on other sites More sharing options...
Matteo Posted September 12, 2007 Author Share Posted September 12, 2007 I've another question: can i erase a point in a Graphic? ,.-~*´¨¯¨`*·~-.¸-(_[M]¦¦[A]¦¦[T]¦¦[T]¦ ¦[E]¦¦[O]_)-,.-~*´¨¯¨`*·~-.¸ Link to comment Share on other sites More sharing options...
DjDeep00 Posted September 13, 2007 Share Posted September 13, 2007 Not sure if you can do that because you are not actually creating a control. The easiest way would be just to delete the control you are setting the graphic to and make a new control with out the $GUI_GR_DOT. Link to comment Share on other sites More sharing options...
martin Posted September 13, 2007 Share Posted September 13, 2007 I've another question: can i erase a point in a Graphic?If by erase you mean remove a point you've drawn before, then you can just draw the point in the background colour.I might not have understand again though. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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