SmallProgram
Programmer
Hello everybody there,
This a problem Iam facing.I have a canvas and I want to draw a line between two points while dragging the mouse.
What I mean is that when I click the <Button-1> I have to draw a line between the points where I clicked the first button and the point where I have released the Button-1.
Here I used "create Line" but the problem was that I want to show the line between the current point and the point where I have pressed the button-1 first.
It is like drawing a line in any Paint application.
Thank you for all the people who will try to help me.
Iam a starter in TCL/Tk.
SriHariPriya Programmer,Amatuer
This a problem Iam facing.I have a canvas and I want to draw a line between two points while dragging the mouse.
What I mean is that when I click the <Button-1> I have to draw a line between the points where I clicked the first button and the point where I have released the Button-1.
Here I used "create Line" but the problem was that I want to show the line between the current point and the point where I have pressed the button-1 first.
It is like drawing a line in any Paint application.
Thank you for all the people who will try to help me.
Iam a starter in TCL/Tk.
SriHariPriya Programmer,Amatuer