Draw over existing objects
MisterX
b.xavier at internet.lu
Mon Apr 25 14:20:01 EDT 2005
look at how ResizeN2O does it...
http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78
Another example (but in browse mode) is how i make palettes draggeable...
just intercept (or pass) the mousedown except where you shouldn't (or
should)...
cheers
Xavier
http://monsieurx.com - TAOO - the rave in RAD
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Frank D. Engel, Jr.
> Sent: Monday, April 25, 2005 19:45
> To: How to use Revolution
> Subject: Draw over existing objects
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am trying to set up an environment where I can use the
> standard drawing tools (graphic, field, pointer) and draw
> over top of a group, so that I can catch the new objects and
> add them to the group myself.
> I set the cantSelect of the group, etc., and that stuff is
> working okay; however, when I try to draw over the group,
> nothing happens.
>
> Apparently, Rev automatically tries to select an object when
> you mouseDown on it in pointer mode, even when you are using
> the graphic tool instead of the pointer tool. Thus instead
> of starting to draw a graphic, Rev is trying to select the
> group, but sees the cantSelect property and just decides to
> do nothing instead.
>
> Anyone know of a way to convince Rev to start the new graphic
> rather than just sit there when I try to draw with such a
> group underneath?
>
> Rev 2.5, OS X.3.whatever, etc.
>
> Thank you!
>
>
> - -----------------------------------------------------------
> Frank D. Engel, Jr. <fde101 at fjrhome.net>
>
> $ ln -s /usr/share/kjvbible /usr/manual
> $ true | cat /usr/manual | grep "John 3:16"
> John 3:16 For God so loved the world, that he gave his only
> begotten Son, that whosoever believeth in him should not
> perish, but have everlasting life.
> $
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV
> Emd46eKmarOeRcn3rKrDEWk=
> =lzNq
> -----END PGP SIGNATURE-----
>
>
>
> ___________________________________________________________
> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer
> 10 Personalized POP and Web E-mail Accounts, and much more.
> Signup at www.doteasy.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list