RE: Create graphic

2014-12-18 Thread John Dixon
I don't see this...
Well, not using the following script :-

on mouseUp
   set the width of the templateGraphic to 200
   set the height of the templateGraphic to 200
   set the opaque of the templateGraphic to true
   set the loc of the templateGraphic to the loc of this card
   set the backgroundcolor of the templateGraphic to 255,0,0
   set the name of the templateGraphic to Boo
   create graphic
end mouseUp

Dixie

 From: p...@lcsql.com
 Date: Thu, 18 Dec 2014 11:47:22 -0800
 Subject: Create graphic
 To: use-livecode@lists.runrev.com
 
 I have a button whose script creates a graphic.  When I click the button,
 the tool changes from the browse tool to the pointer tool as soon as the
 create graphic command is executed.
 
 Not a big deal as I can just set the tool back to the pointer tool after
 the create graphic command but that shouldn't happen, should it?
 
 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Create graphic

2014-12-18 Thread Peter Haworth
Hi John,
Thanks for checking.  I think I found the problem - a rogue front script
that was capturing the newGraphic event.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Thu, Dec 18, 2014 at 11:58 AM, John Dixon dixo...@hotmail.co.uk wrote:

 I don't see this...
 Well, not using the following script :-

 on mouseUp
set the width of the templateGraphic to 200
set the height of the templateGraphic to 200
set the opaque of the templateGraphic to true
set the loc of the templateGraphic to the loc of this card
set the backgroundcolor of the templateGraphic to 255,0,0
set the name of the templateGraphic to Boo
create graphic
 end mouseUp

 Dixie

  From: p...@lcsql.com
  Date: Thu, 18 Dec 2014 11:47:22 -0800
  Subject: Create graphic
  To: use-livecode@lists.runrev.com
 
  I have a button whose script creates a graphic.  When I click the button,
  the tool changes from the browse tool to the pointer tool as soon as the
  create graphic command is executed.
 
  Not a big deal as I can just set the tool back to the pointer tool after
  the create graphic command but that shouldn't happen, should it?
 
  Pete
  lcSQL Software http://www.lcsql.com
  Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
  SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Create graphic

2014-12-18 Thread dunbarx
Peter.


In v.6.7 on Mavericks, the tools sticks. What is your set-up?


Craig



-Original Message-
From: Peter Haworth p...@lcsql.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Thu, Dec 18, 2014 2:48 pm
Subject: Create graphic


I have a button whose script creates a graphic.  When I click the button,
the tool changes from the browse tool to the pointer tool as soon as the
create graphic command is executed.

Not a big deal as I can just set the tool back to the pointer tool after
the create graphic command but that shouldn't happen, should it?

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode