Sign in to follow this  
Followers 0
Matteo

Help Graphic!

7 posts in this topic

#1 ·  Posted (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 by Matteo

,.-~*´¨¯¨`*·~-.¸-(_[M]¦•¦[A]¦•¦[T]¦•¦[T]¦ •¦[E]¦•¦[O]_)-,.-~*´¨¯¨`*·~-.¸

Share this post


Link to post
Share on other sites



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

Welcome 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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

tanks DjDeep00, i meant this.


,.-~*´¨¯¨`*·~-.¸-(_[M]¦•¦[A]¦•¦[T]¦•¦[T]¦ •¦[E]¦•¦[O]_)-,.-~*´¨¯¨`*·~-.¸

Share this post


Link to post
Share on other sites

I've another question: can i erase a point in a Graphic?


,.-~*´¨¯¨`*·~-.¸-(_[M]¦•¦[A]¦•¦[T]¦•¦[T]¦ •¦[E]¦•¦[O]_)-,.-~*´¨¯¨`*·~-.¸

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0