Drawing a line in a stand alone
devin_asay at byu.edu
Fri Feb 4 19:05:06 EST 2011
On Feb 3, 2011, at 6:10 PM, revolution at duncansoftware.on-rev.com wrote:
> I want the end user to draw a curved line on top of an image. The line needs to be a separate object. They initiate the process by clicking on a button to change to drawing mode, then mouse down starts drawing and mouse up to stop. I have the code that does what I want but the line is surrounded by 8 adjustment handles even in a stand alone. How can I get rid of those adjustment handles during and after drawing?
> on mouseup
> set the opaque of the templategraphic to false
> set the forecolor of the templategraphic to 255,0,0
> set the linesize of the templategraphic to 2
> set the filled of the templategraphic to true
> choose graphic curve
> end mouseup
Didn't see a reply to this yet, so thought I'd chime in.
If you choose another tool that should make your handles disappear:
choose browse tool
You may also be able to 'select empty'.
Humanities Technology and Research Support Center
Brigham Young University
More information about the Use-livecode