Re: Usng an image to "disable" a group

2014-09-22 Thread J. Landman Gay

On 9/22/2014, 11:33 AM, Peter Haworth wrote:

First time I've used the paint bucket so I might be doing something wrong
but it doesn't seem to work with images? Even if it worked, as soon as I
change the opacity of the image from zero, it's possible to type into any
field controls in the underlying group.


Right, you'd need the mouseUp blocking handler. But I like the other 
suggestions better because they don't require an additional object over 
the group, so you have a couple of choices.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: Usng an image to "disable" a group

2014-09-22 Thread Peter Haworth
Hi Terry,
Unfortunately, as soon as I change the opacity of the image to anything
other than zero, it becomes possible for the user to type into any field
controls in the group.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sun, Sep 21, 2014 at 7:33 PM, Terry Judd 
wrote:

> I¹m with Scott. A similar approach I sometimes use is to chuck a plain
> graphic object (black or other colour) over the group and adjust its
> opacity to give the desired effect. It¹s then just a matter of hiding or
> showing the graphic, which is no more difficult the enabling or disabling
> the group.
>
> Terry...
>
> On 22/09/2014 11:38 am, "Scott Rossi"  wrote:
>
> >Did you try using a colorOverlay effect on the snapshot and/or group?
> >You can choose any color you want, and set the opacity of the effect.
> >
> >Regards,
> >
> >Scott Rossi
> >Creative Director
> >Tactile Media UX/UI Design
> >
> >> On Sep 21, 2014, at 6:29 PM, Peter Haworth  wrote:
> >>
> >> Basically I'm trying to block access to groups on a card until allowed
> >>by
> >> script. Right now, I do it by disabling/enabling the groups when
> >> appropriate.  That works just fine but I was trying to find a better
> >>way to
> >> visually indicate that a group is disabled instead of the faded grey
> >>color
> >> that LC uses.
> >
> >___
> >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: Usng an image to "disable" a group

2014-09-22 Thread Peter Haworth
On Mon, Sep 22, 2014 at 1:21 AM, John Craig  wrote:

> Hi, Pete.  Try setting the group's traversalOn property to false when you
> cover it with the image.  Does that solve the problem?


That works great, thank John!

I now have two solutions to this.  Scott's suggestion of using a color
overlay in an image, and your suggestion of turning traversalOn off which
means I can use a filled, blended rectangle.

Thanks to everyone for their suggestions and sticking with me on this, it's
been interesting!

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 
___
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: Usng an image to "disable" a group

2014-09-22 Thread Peter Haworth
On Sun, Sep 21, 2014 at 11:00 PM, J. Landman Gay 
wrote:

> I think you're making this too hard.  :-)
>

Wouldn't be the first time!

>
> Create an image object.  Use the paint bucket to fill it with a color.
> Set its transparency, and size it over a group.  Hide and show it as needed.
>

First time I've used the paint bucket so I might be doing something wrong
but it doesn't seem to work with images? Even if it worked, as soon as I
change the opacity of the image from zero, it's possible to type into any
field controls in the underlying group.

>
> This will create a sort of tinted overlay that allows the original group
> to show through but will block mouse events. I'm not sure that's what
> you're looking for but it should work.  The corners will be square, which
> doesn't quite match the shape of a group that has borders.
>
> On September 21, 2014 8:29:57 PM CDT, Peter Haworth 
> wrote:
> >Hi Scott,
> >Yes, it's a little difficult to explain.
> >
> >Basically I'm trying to block access to groups on a card until allowed
> >by
> >script. Right now, I do it by disabling/enabling the groups when
> >appropriate.  That works just fine but I was trying to find a better
> >way to
> >visually indicate that a group is disabled instead of the faded grey
> >color
> >that LC uses.
> >
> >Exporting a snapshot of each of these groups it their enabled state,
> >positioning them over the groups and showing/hiding them is how I'm
> >trying
> >to handle it but I had hoped to be able to change the background color
> >of
> >the image to indicate the group is disabled.
> >
> >At this point, I don't think it's worth the effort to pursue this any
> >further so I'll go back to disabling/enabling the groups.
> >
> >
> >
> >The card has three groups on it, each with various controls in it,
> >field,
> >buttons, etc.  Currently, when the card opens, the first group is
> >enabled
> >and the other two are disabled.  The user fills in data in the first
> >group,
> >and clicks on a button that adds the data to a database.  At that point
> >the
> >second group is enabled and the user fills in data in that one, clicks
> >a
> >button to add it to the database and the third group is enabled.  So
> >basically just controlling the order in which data is entered.
> >
> >That all works fine right now but I don't particularly like the way a
> >disabled group looks and since there doesn't seem to be any way to
> >control
> >that, I started down this path of trying to use graphics and images to
> >do
> >it (and wish I hadn't :-).
> >
> >I ruled out a graphic because it doesn't block users from typing into
> >any
> >field controls there might be in the group.  Unless it's opaque of
> >course
> >but then the user can't even see that there's a group there.
> >
> >I've been working with a snapshot image of the second and third groups
> >positioned over the top of them and that does indeed stop the user from
> >doing anything with those groups until the image is removed.  However,
> >other than the user not being to use any controls in the group, there's
> >no
> >visual indication that the group is "disabled" and that's what I was
> >hoping
> >to achieve by somehow setting a background color/blendlevel of the
> >image
> >but it seems setting the backgroundcolor of an image has no effect.  I
> >tried all the other colors in the Property Inspector for the graphic
> >but
> >non of them affect it's background
> >
> >Pete
> >lcSQL Software 
> >Home of lcStackBrowser  and
> >SQLiteAdmin 
> >
> >On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi 
> >wrote:
> >
> >> Hey Pete:
> >>
> >> It sounds like there's some detail missing here.  I haven't followed
> >all
> >> the posts on this, but from what you described, it shouldn't matter
> >if
> >> whatever you're capturing has a background or not.  If you're
> >capturing
> >> multiple overlaid objects, you should either be capturing a snapshot
> >of
> >> the group of all the objects, or from the card so all the objects
> >appear
> >> composited together.
> >>
> >> Are you intentionally trying to leave gaps in the snapshot?  If not,
> >a
> >> capture of the card should work.
> >>
> >> Regards,
> >>
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX/UI Design
> >>
> >>
> >>
> >>
> >> On 9/21/14 3:44 PM, "Peter Haworth"  wrote:
> >>
> >> >Hi Eric,
> >> >I tried that but the image has no background color so changing the
> >> >blending
> >> >doesn't change it's appearance (the underlying group just shows
> >through).
> >> >
> >> >Using a snapshot would work great if I could just find a way to
> >change the
> >> >background color of the resulting image but there doesn't appear to
> >be a
> >> >way to do that.
> >> >
> >> >
> >>
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and

Re: Usng an image to "disable" a group

2014-09-22 Thread Peter Haworth
That works great, thanks Scott!

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sun, Sep 21, 2014 at 6:38 PM, Scott Rossi  wrote:

> Did you try using a colorOverlay effect on the snapshot and/or group?  You
> can choose any color you want, and set the opacity of the effect.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media UX/UI Design
>
> > On Sep 21, 2014, at 6:29 PM, Peter Haworth  wrote:
> >
> > Basically I'm trying to block access to groups on a card until allowed by
> > script. Right now, I do it by disabling/enabling the groups when
> > appropriate.  That works just fine but I was trying to find a better way
> to
> > visually indicate that a group is disabled instead of the faded grey
> color
> > that LC uses.
>
> ___
> 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: Usng an image to "disable" a group

2014-09-22 Thread John Craig
Hi, Pete.  Try setting the group's traversalOn property to false when 
you cover it with the image.  Does that solve the problem?



On 20/09/2014 17:20, Peter Haworth wrote:

I have a stack with a series of groups on it.  I need to control the order
in which data is entered into the groups.  The obvious/easy way is to
enable/disable the groups as needed but I'm not happy with the way groups
look when they are disabled.

I vaguely remember a thread about using images to do this since clicks
within the image don't make it through to the underlying controls.  When I
tried this, clicks on buttons that were under the image did not trigger any
mouse events on them, as hoped, but field controls still get focus and I
can type into them.

It seems like this isn't going to work so looking for other ways to achieve
this without having to go through every control in the group and adjusting
their properties to disable them.  Alternatively, is there a way to control
how a group looks when it is disabled?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 
___
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: Usng an image to "disable" a group

2014-09-21 Thread J. Landman Gay
I think you're making this too hard.  :-) 

Create an image object.  Use the paint bucket to fill it with a color.  Set its 
transparency, and size it over a group.  Hide and show it as needed.  

This will create a sort of tinted overlay that allows the original group to 
show through but will block mouse events. I'm not sure that's what you're 
looking for but it should work.  The corners will be square, which doesn't 
quite match the shape of a group that has borders.  

On September 21, 2014 8:29:57 PM CDT, Peter Haworth  wrote:
>Hi Scott,
>Yes, it's a little difficult to explain.
>
>Basically I'm trying to block access to groups on a card until allowed
>by
>script. Right now, I do it by disabling/enabling the groups when
>appropriate.  That works just fine but I was trying to find a better
>way to
>visually indicate that a group is disabled instead of the faded grey
>color
>that LC uses.
>
>Exporting a snapshot of each of these groups it their enabled state,
>positioning them over the groups and showing/hiding them is how I'm
>trying
>to handle it but I had hoped to be able to change the background color
>of
>the image to indicate the group is disabled.
>
>At this point, I don't think it's worth the effort to pursue this any
>further so I'll go back to disabling/enabling the groups.
>
>
>
>The card has three groups on it, each with various controls in it,
>field,
>buttons, etc.  Currently, when the card opens, the first group is
>enabled
>and the other two are disabled.  The user fills in data in the first
>group,
>and clicks on a button that adds the data to a database.  At that point
>the
>second group is enabled and the user fills in data in that one, clicks
>a
>button to add it to the database and the third group is enabled.  So
>basically just controlling the order in which data is entered.
>
>That all works fine right now but I don't particularly like the way a
>disabled group looks and since there doesn't seem to be any way to
>control
>that, I started down this path of trying to use graphics and images to
>do
>it (and wish I hadn't :-).
>
>I ruled out a graphic because it doesn't block users from typing into
>any
>field controls there might be in the group.  Unless it's opaque of
>course
>but then the user can't even see that there's a group there.
>
>I've been working with a snapshot image of the second and third groups
>positioned over the top of them and that does indeed stop the user from
>doing anything with those groups until the image is removed.  However,
>other than the user not being to use any controls in the group, there's
>no
>visual indication that the group is "disabled" and that's what I was
>hoping
>to achieve by somehow setting a background color/blendlevel of the
>image
>but it seems setting the backgroundcolor of an image has no effect.  I
>tried all the other colors in the Property Inspector for the graphic
>but
>non of them affect it's background
>
>Pete
>lcSQL Software 
>Home of lcStackBrowser  and
>SQLiteAdmin 
>
>On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi 
>wrote:
>
>> Hey Pete:
>>
>> It sounds like there's some detail missing here.  I haven't followed
>all
>> the posts on this, but from what you described, it shouldn't matter
>if
>> whatever you're capturing has a background or not.  If you're
>capturing
>> multiple overlaid objects, you should either be capturing a snapshot
>of
>> the group of all the objects, or from the card so all the objects
>appear
>> composited together.
>>
>> Are you intentionally trying to leave gaps in the snapshot?  If not,
>a
>> capture of the card should work.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 9/21/14 3:44 PM, "Peter Haworth"  wrote:
>>
>> >Hi Eric,
>> >I tried that but the image has no background color so changing the
>> >blending
>> >doesn't change it's appearance (the underlying group just shows
>through).
>> >
>> >Using a snapshot would work great if I could just find a way to
>change the
>> >background color of the resulting image but there doesn't appear to
>be a
>> >way to do that.
>> >
>> >
>>
>>
>>
>> ___
>> 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

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit t

Re: Usng an image to "disable" a group

2014-09-21 Thread Terry Judd
I¹m with Scott. A similar approach I sometimes use is to chuck a plain
graphic object (black or other colour) over the group and adjust its
opacity to give the desired effect. It¹s then just a matter of hiding or
showing the graphic, which is no more difficult the enabling or disabling
the group.

Terry...

On 22/09/2014 11:38 am, "Scott Rossi"  wrote:

>Did you try using a colorOverlay effect on the snapshot and/or group?
>You can choose any color you want, and set the opacity of the effect.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media UX/UI Design
>
>> On Sep 21, 2014, at 6:29 PM, Peter Haworth  wrote:
>> 
>> Basically I'm trying to block access to groups on a card until allowed
>>by
>> script. Right now, I do it by disabling/enabling the groups when
>> appropriate.  That works just fine but I was trying to find a better
>>way to
>> visually indicate that a group is disabled instead of the faded grey
>>color
>> that LC uses.
>
>___
>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: Usng an image to "disable" a group

2014-09-21 Thread Scott Rossi
Did you try using a colorOverlay effect on the snapshot and/or group?  You can 
choose any color you want, and set the opacity of the effect.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Sep 21, 2014, at 6:29 PM, Peter Haworth  wrote:
> 
> Basically I'm trying to block access to groups on a card until allowed by
> script. Right now, I do it by disabling/enabling the groups when
> appropriate.  That works just fine but I was trying to find a better way to
> visually indicate that a group is disabled instead of the faded grey color
> that LC uses.

___
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: Usng an image to "disable" a group

2014-09-21 Thread Peter Haworth
Hi Scott,
Yes, it's a little difficult to explain.

Basically I'm trying to block access to groups on a card until allowed by
script. Right now, I do it by disabling/enabling the groups when
appropriate.  That works just fine but I was trying to find a better way to
visually indicate that a group is disabled instead of the faded grey color
that LC uses.

Exporting a snapshot of each of these groups it their enabled state,
positioning them over the groups and showing/hiding them is how I'm trying
to handle it but I had hoped to be able to change the background color of
the image to indicate the group is disabled.

At this point, I don't think it's worth the effort to pursue this any
further so I'll go back to disabling/enabling the groups.



The card has three groups on it, each with various controls in it, field,
buttons, etc.  Currently, when the card opens, the first group is enabled
and the other two are disabled.  The user fills in data in the first group,
and clicks on a button that adds the data to a database.  At that point the
second group is enabled and the user fills in data in that one, clicks a
button to add it to the database and the third group is enabled.  So
basically just controlling the order in which data is entered.

That all works fine right now but I don't particularly like the way a
disabled group looks and since there doesn't seem to be any way to control
that, I started down this path of trying to use graphics and images to do
it (and wish I hadn't :-).

I ruled out a graphic because it doesn't block users from typing into any
field controls there might be in the group.  Unless it's opaque of course
but then the user can't even see that there's a group there.

I've been working with a snapshot image of the second and third groups
positioned over the top of them and that does indeed stop the user from
doing anything with those groups until the image is removed.  However,
other than the user not being to use any controls in the group, there's no
visual indication that the group is "disabled" and that's what I was hoping
to achieve by somehow setting a background color/blendlevel of the image
but it seems setting the backgroundcolor of an image has no effect.  I
tried all the other colors in the Property Inspector for the graphic but
non of them affect it's background

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi  wrote:

> Hey Pete:
>
> It sounds like there's some detail missing here.  I haven't followed all
> the posts on this, but from what you described, it shouldn't matter if
> whatever you're capturing has a background or not.  If you're capturing
> multiple overlaid objects, you should either be capturing a snapshot of
> the group of all the objects, or from the card so all the objects appear
> composited together.
>
> Are you intentionally trying to leave gaps in the snapshot?  If not, a
> capture of the card should work.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 9/21/14 3:44 PM, "Peter Haworth"  wrote:
>
> >Hi Eric,
> >I tried that but the image has no background color so changing the
> >blending
> >doesn't change it's appearance (the underlying group just shows through).
> >
> >Using a snapshot would work great if I could just find a way to change the
> >background color of the resulting image but there doesn't appear to be a
> >way to do that.
> >
> >
>
>
>
> ___
> 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: Usng an image to "disable" a group

2014-09-21 Thread Scott Rossi
Hey Pete:

It sounds like there's some detail missing here.  I haven't followed all
the posts on this, but from what you described, it shouldn't matter if
whatever you're capturing has a background or not.  If you're capturing
multiple overlaid objects, you should either be capturing a snapshot of
the group of all the objects, or from the card so all the objects appear
composited together.

Are you intentionally trying to leave gaps in the snapshot?  If not, a
capture of the card should work.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/21/14 3:44 PM, "Peter Haworth"  wrote:

>Hi Eric,
>I tried that but the image has no background color so changing the
>blending
>doesn't change it's appearance (the underlying group just shows through).
>
>Using a snapshot would work great if I could just find a way to change the
>background color of the resulting image but there doesn't appear to be a
>way to do that.
>
>



___
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: Usng an image to "disable" a group

2014-09-21 Thread Peter Haworth
Hi Eric,
I tried that but the image has no background color so changing the blending
doesn't change it's appearance (the underlying group just shows through).

Using a snapshot would work great if I could just find a way to change the
background color of the resulting image but there doesn't appear to be a
way to do that.


Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sun, Sep 21, 2014 at 2:13 PM, Eric Corbett 
wrote:

> Hi Peter,
>
> I guess I assumed when you said you were using an image to block controls
> that the image was of the group.
>
> Can you take a snapshot of the group and then use that image as the
> disabled looking "group" by blending it and hide the real group?
>
>
> On Sep 20, 2014, at 9:20 AM, Peter Haworth wrote:
>
> > I have a stack with a series of groups on it.  I need to control the
> order
> > in which data is entered into the groups.  The obvious/easy way is to
> > enable/disable the groups as needed but I'm not happy with the way groups
> > look when they are disabled.
> >
> > I vaguely remember a thread about using images to do this since clicks
> > within the image don't make it through to the underlying controls.  When
> I
> > tried this, clicks on buttons that were under the image did not trigger
> any
> > mouse events on them, as hoped, but field controls still get focus and I
> > can type into them.
> >
> > It seems like this isn't going to work so looking for other ways to
> achieve
> > this without having to go through every control in the group and
> adjusting
> > their properties to disable them.  Alternatively, is there a way to
> control
> > how a group looks when it is disabled?
> >
> > Pete
> > lcSQL Software 
> > Home of lcStackBrowser  and
> > SQLiteAdmin 
> > ___
> > 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: Usng an image to "disable" a group

2014-09-21 Thread Peter Haworth
Thanks Jacque, I'll give that a try.
Pete

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sun, Sep 21, 2014 at 10:55 AM, J. Landman Gay 
wrote:

> Use a colored image instead of a white one and try different
> transparencies until you get the look you want.
>
> On September 21, 2014 12:00:49 PM CDT, Peter Haworth 
> wrote:
> >Thanks Jacque and Scott.  I tried your suggestions but unfortunately
> >none
> >of them quite do what I need in various ways.
> >
> >Using a graphic doesn't work because, although it blocks clicks to
> >buttons
> >in the underlying group, it still allows access to all field controls
> >in it.
> >
> >Using an image blocks access to all the controls in the underlying
> >group
> >but I can't find a way to set the backgroundColor of the image to
> >indicate
> >that it's disabled.
> >
> >All in all, I think I'll just have to go with the simple solution of
> >disabling the group and living with the way it looks.
> >
> >Pete
> >lcSQL Software 
> >Home of lcStackBrowser  and
> >SQLiteAdmin 
> >
> >On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay
> >
> >wrote:
> >
> >> You can put a white image over the group and set its blendlevel to
> >99.
> >> That makes it visually transparent but it will still respond to mouse
> >> clicks (or use any level you want.) Then put an empty mouseUp handler
> >in
> >> the image to block clicks.
> >>
> >> On September 20, 2014 6:19:05 PM CDT, Peter Haworth 
> >> wrote:
> >> >Thanks Larry.  I tried your suggestion but it has the same problem
> >as
> >> >using
> >> >an image - buttons underneath the button are blocked but fields can
> >> >still
> >> >be used.
> >> >
> >> >I guess I'll have to stick with disabling each group when necessary.
> >> >Wish
> >> >there was a way to affect the background color of a disabled group
> >but
> >> >don't think there is.
> >> >
> >> >
> >> >Pete
> >> >lcSQL Software 
> >> >Home of lcStackBrowser 
> >and
> >> >SQLiteAdmin 
> >> >
> >> >On Sat, Sep 20, 2014 at 11:19 AM, 
> >wrote:
> >> >
> >> >> Hi Peter,
> >> >> I'm not sure what you're exactly looking for in "looks" but I just
> >> >now
> >> >> made a little test stack with colored buttons.
> >> >> You can adjust the blendlevel so that the group is as opaque or as
> >> >> transparent as you wish it to be.
> >> >> That's one idea.
> >> >> Larry
> >> >>
> >> >> - Original Message - From: "Peter Haworth"
> >
> >> >> To: "How to use LiveCode" 
> >> >> Sent: Saturday, September 20, 2014 10:20 AM
> >> >> Subject: Usng an image to "disable" a group
> >> >>
> >> >>
> >> >>  I have a stack with a series of groups on it.  I need to control
> >the
> >> >order
> >> >>> in which data is entered into the groups.  The obvious/easy way
> >is
> >> >to
> >> >>> enable/disable the groups as needed but I'm not happy with the
> >way
> >> >groups
> >> >>> look when they are disabled.
> >> >>>
> >> >>> I vaguely remember a thread about using images to do this since
> >> >clicks
> >> >>> within the image don't make it through to the underlying
> >controls.
> >> >When I
> >> >>> tried this, clicks on buttons that were under the image did not
> >> >trigger
> >> >>> any
> >> >>> mouse events on them, as hoped, but field controls still get
> >focus
> >> >and I
> >> >>> can type into them.
> >> >>>
> >> >>> It seems like this isn't going to work so looking for other ways
> >to
> >> >>> achieve
> >> >>> this without having to go through every control in the group and
> >> >adjusting
> >> >>> their properties to disable them.  Alternatively, is there a way
> >to
> >> >>> control
> >> >>> how a group looks when it is disabled?
> >> >>>
> >> >>> Pete
> >> >>> lcSQL Software 
> >> >>> Home of lcStackBrowser 
> >> >and
> >> >>> SQLiteAdmin 
> >> >>> ___
> >> >>> 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:
> >> 

Re: Usng an image to "disable" a group

2014-09-21 Thread Eric Corbett
Hi Peter,

I guess I assumed when you said you were using an image to block controls that 
the image was of the group.

Can you take a snapshot of the group and then use that image as the disabled 
looking "group" by blending it and hide the real group?


On Sep 20, 2014, at 9:20 AM, Peter Haworth wrote:

> I have a stack with a series of groups on it.  I need to control the order
> in which data is entered into the groups.  The obvious/easy way is to
> enable/disable the groups as needed but I'm not happy with the way groups
> look when they are disabled.
> 
> I vaguely remember a thread about using images to do this since clicks
> within the image don't make it through to the underlying controls.  When I
> tried this, clicks on buttons that were under the image did not trigger any
> mouse events on them, as hoped, but field controls still get focus and I
> can type into them.
> 
> It seems like this isn't going to work so looking for other ways to achieve
> this without having to go through every control in the group and adjusting
> their properties to disable them.  Alternatively, is there a way to control
> how a group looks when it is disabled?
> 
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
> ___
> 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: Usng an image to "disable" a group

2014-09-21 Thread J. Landman Gay
Use a colored image instead of a white one and try different transparencies 
until you get the look you want.  

On September 21, 2014 12:00:49 PM CDT, Peter Haworth  wrote:
>Thanks Jacque and Scott.  I tried your suggestions but unfortunately
>none
>of them quite do what I need in various ways.
>
>Using a graphic doesn't work because, although it blocks clicks to
>buttons
>in the underlying group, it still allows access to all field controls
>in it.
>
>Using an image blocks access to all the controls in the underlying
>group
>but I can't find a way to set the backgroundColor of the image to
>indicate
>that it's disabled.
>
>All in all, I think I'll just have to go with the simple solution of
>disabling the group and living with the way it looks.
>
>Pete
>lcSQL Software 
>Home of lcStackBrowser  and
>SQLiteAdmin 
>
>On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay
>
>wrote:
>
>> You can put a white image over the group and set its blendlevel to
>99.
>> That makes it visually transparent but it will still respond to mouse
>> clicks (or use any level you want.) Then put an empty mouseUp handler
>in
>> the image to block clicks.
>>
>> On September 20, 2014 6:19:05 PM CDT, Peter Haworth 
>> wrote:
>> >Thanks Larry.  I tried your suggestion but it has the same problem
>as
>> >using
>> >an image - buttons underneath the button are blocked but fields can
>> >still
>> >be used.
>> >
>> >I guess I'll have to stick with disabling each group when necessary.
>> >Wish
>> >there was a way to affect the background color of a disabled group
>but
>> >don't think there is.
>> >
>> >
>> >Pete
>> >lcSQL Software 
>> >Home of lcStackBrowser 
>and
>> >SQLiteAdmin 
>> >
>> >On Sat, Sep 20, 2014 at 11:19 AM, 
>wrote:
>> >
>> >> Hi Peter,
>> >> I'm not sure what you're exactly looking for in "looks" but I just
>> >now
>> >> made a little test stack with colored buttons.
>> >> You can adjust the blendlevel so that the group is as opaque or as
>> >> transparent as you wish it to be.
>> >> That's one idea.
>> >> Larry
>> >>
>> >> - Original Message - From: "Peter Haworth"
>
>> >> To: "How to use LiveCode" 
>> >> Sent: Saturday, September 20, 2014 10:20 AM
>> >> Subject: Usng an image to "disable" a group
>> >>
>> >>
>> >>  I have a stack with a series of groups on it.  I need to control
>the
>> >order
>> >>> in which data is entered into the groups.  The obvious/easy way
>is
>> >to
>> >>> enable/disable the groups as needed but I'm not happy with the
>way
>> >groups
>> >>> look when they are disabled.
>> >>>
>> >>> I vaguely remember a thread about using images to do this since
>> >clicks
>> >>> within the image don't make it through to the underlying
>controls.
>> >When I
>> >>> tried this, clicks on buttons that were under the image did not
>> >trigger
>> >>> any
>> >>> mouse events on them, as hoped, but field controls still get
>focus
>> >and I
>> >>> can type into them.
>> >>>
>> >>> It seems like this isn't going to work so looking for other ways
>to
>> >>> achieve
>> >>> this without having to go through every control in the group and
>> >adjusting
>> >>> their properties to disable them.  Alternatively, is there a way
>to
>> >>> control
>> >>> how a group looks when it is disabled?
>> >>>
>> >>> Pete
>> >>> lcSQL Software 
>> >>> Home of lcStackBrowser 
>> >and
>> >>> SQLiteAdmin 
>> >>> ___
>> >>> 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
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>>
>> ___
>> 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

Re: Usng an image to "disable" a group

2014-09-21 Thread Peter Haworth
Thanks Jacque and Scott.  I tried your suggestions but unfortunately none
of them quite do what I need in various ways.

Using a graphic doesn't work because, although it blocks clicks to buttons
in the underlying group, it still allows access to all field controls in it.

Using an image blocks access to all the controls in the underlying group
but I can't find a way to set the backgroundColor of the image to indicate
that it's disabled.

All in all, I think I'll just have to go with the simple solution of
disabling the group and living with the way it looks.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay 
wrote:

> You can put a white image over the group and set its blendlevel to 99.
> That makes it visually transparent but it will still respond to mouse
> clicks (or use any level you want.) Then put an empty mouseUp handler in
> the image to block clicks.
>
> On September 20, 2014 6:19:05 PM CDT, Peter Haworth 
> wrote:
> >Thanks Larry.  I tried your suggestion but it has the same problem as
> >using
> >an image - buttons underneath the button are blocked but fields can
> >still
> >be used.
> >
> >I guess I'll have to stick with disabling each group when necessary.
> >Wish
> >there was a way to affect the background color of a disabled group but
> >don't think there is.
> >
> >
> >Pete
> >lcSQL Software 
> >Home of lcStackBrowser  and
> >SQLiteAdmin 
> >
> >On Sat, Sep 20, 2014 at 11:19 AM,  wrote:
> >
> >> Hi Peter,
> >> I'm not sure what you're exactly looking for in "looks" but I just
> >now
> >> made a little test stack with colored buttons.
> >> You can adjust the blendlevel so that the group is as opaque or as
> >> transparent as you wish it to be.
> >> That's one idea.
> >> Larry
> >>
> >> - Original Message - From: "Peter Haworth" 
> >> To: "How to use LiveCode" 
> >> Sent: Saturday, September 20, 2014 10:20 AM
> >> Subject: Usng an image to "disable" a group
> >>
> >>
> >>  I have a stack with a series of groups on it.  I need to control the
> >order
> >>> in which data is entered into the groups.  The obvious/easy way is
> >to
> >>> enable/disable the groups as needed but I'm not happy with the way
> >groups
> >>> look when they are disabled.
> >>>
> >>> I vaguely remember a thread about using images to do this since
> >clicks
> >>> within the image don't make it through to the underlying controls.
> >When I
> >>> tried this, clicks on buttons that were under the image did not
> >trigger
> >>> any
> >>> mouse events on them, as hoped, but field controls still get focus
> >and I
> >>> can type into them.
> >>>
> >>> It seems like this isn't going to work so looking for other ways to
> >>> achieve
> >>> this without having to go through every control in the group and
> >adjusting
> >>> their properties to disable them.  Alternatively, is there a way to
> >>> control
> >>> how a group looks when it is disabled?
> >>>
> >>> Pete
> >>> lcSQL Software 
> >>> Home of lcStackBrowser 
> >and
> >>> SQLiteAdmin 
> >>> ___
> >>> 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
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> 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: Usng an image to "disable" a group

2014-09-20 Thread J. Landman Gay
You can put a white image over the group and set its blendlevel to 99. That 
makes it visually transparent but it will still respond to mouse clicks (or use 
any level you want.) Then put an empty mouseUp handler in the image to block 
clicks.  

On September 20, 2014 6:19:05 PM CDT, Peter Haworth  wrote:
>Thanks Larry.  I tried your suggestion but it has the same problem as
>using
>an image - buttons underneath the button are blocked but fields can
>still
>be used.
>
>I guess I'll have to stick with disabling each group when necessary. 
>Wish
>there was a way to affect the background color of a disabled group but
>don't think there is.
>
>
>Pete
>lcSQL Software 
>Home of lcStackBrowser  and
>SQLiteAdmin 
>
>On Sat, Sep 20, 2014 at 11:19 AM,  wrote:
>
>> Hi Peter,
>> I'm not sure what you're exactly looking for in "looks" but I just
>now
>> made a little test stack with colored buttons.
>> You can adjust the blendlevel so that the group is as opaque or as
>> transparent as you wish it to be.
>> That's one idea.
>> Larry
>>
>> - Original Message - From: "Peter Haworth" 
>> To: "How to use LiveCode" 
>> Sent: Saturday, September 20, 2014 10:20 AM
>> Subject: Usng an image to "disable" a group
>>
>>
>>  I have a stack with a series of groups on it.  I need to control the
>order
>>> in which data is entered into the groups.  The obvious/easy way is
>to
>>> enable/disable the groups as needed but I'm not happy with the way
>groups
>>> look when they are disabled.
>>>
>>> I vaguely remember a thread about using images to do this since
>clicks
>>> within the image don't make it through to the underlying controls. 
>When I
>>> tried this, clicks on buttons that were under the image did not
>trigger
>>> any
>>> mouse events on them, as hoped, but field controls still get focus
>and I
>>> can type into them.
>>>
>>> It seems like this isn't going to work so looking for other ways to
>>> achieve
>>> this without having to go through every control in the group and
>adjusting
>>> their properties to disable them.  Alternatively, is there a way to
>>> control
>>> how a group looks when it is disabled?
>>>
>>> Pete
>>> lcSQL Software 
>>> Home of lcStackBrowser 
>and
>>> SQLiteAdmin 
>>> ___
>>> 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

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: Usng an image to "disable" a group

2014-09-20 Thread Scott Rossi
For a graphic's fill color to be visible, the graphic needs to have its
"opaque" property enabled, its blendLevel must be less than 100, and it
shouldn't have any special ink effects applied (srcCopy is the default).

Another option you might try it to apply a snapshot image as a backPattern
of the graphic.  If the snapshot is the same size as the graphic, no
tiling of the snapshot will be visible in the graphic.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/20/14 4:57 PM, "Peter Haworth"  wrote:

>However, I'm having a hard time finding a way to fill the graphic with a
>color. Setting the backgroundcolor didn't do anything.  Then I saw a note
>in the dictionary that the "fill" property of a graphic has to be true in
>order for the background color to have any effect.  Couldn't find a fill
>property but there is a filled property so I set it but still no
>background
>color.
>



___
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: Usng an image to "disable" a group

2014-09-20 Thread Peter Haworth
I might be on to something I think.  If I export a snapshot of the group I
want to disable and place it over the group's rectangle, it obviously stops
any input into the group.

However, I'm having a hard time finding a way to fill the graphic with a
color. Setting the backgroundcolor didn't do anything.  Then I saw a note
in the dictionary that the "fill" property of a graphic has to be true in
order for the background color to have any effect.  Couldn't find a fill
property but there is a filled property so I set it but still no background
color.

Any ideas?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Sep 20, 2014 at 4:19 PM, Peter Haworth  wrote:

> Thanks Larry.  I tried your suggestion but it has the same problem as
> using an image - buttons underneath the button are blocked but fields can
> still be used.
>
> I guess I'll have to stick with disabling each group when necessary.  Wish
> there was a way to affect the background color of a disabled group but
> don't think there is.
>
>
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
>
> On Sat, Sep 20, 2014 at 11:19 AM,  wrote:
>
>> Hi Peter,
>> I'm not sure what you're exactly looking for in "looks" but I just now
>> made a little test stack with colored buttons.
>> You can adjust the blendlevel so that the group is as opaque or as
>> transparent as you wish it to be.
>> That's one idea.
>> Larry
>>
>> - Original Message - From: "Peter Haworth" 
>> To: "How to use LiveCode" 
>> Sent: Saturday, September 20, 2014 10:20 AM
>> Subject: Usng an image to "disable" a group
>>
>>
>>  I have a stack with a series of groups on it.  I need to control the
>>> order
>>> in which data is entered into the groups.  The obvious/easy way is to
>>> enable/disable the groups as needed but I'm not happy with the way groups
>>> look when they are disabled.
>>>
>>> I vaguely remember a thread about using images to do this since clicks
>>> within the image don't make it through to the underlying controls.  When
>>> I
>>> tried this, clicks on buttons that were under the image did not trigger
>>> any
>>> mouse events on them, as hoped, but field controls still get focus and I
>>> can type into them.
>>>
>>> It seems like this isn't going to work so looking for other ways to
>>> achieve
>>> this without having to go through every control in the group and
>>> adjusting
>>> their properties to disable them.  Alternatively, is there a way to
>>> control
>>> how a group looks when it is disabled?
>>>
>>> Pete
>>> lcSQL Software 
>>> Home of lcStackBrowser  and
>>> SQLiteAdmin 
>>> ___
>>> 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: Usng an image to "disable" a group

2014-09-20 Thread Peter Haworth
Thanks Larry.  I tried your suggestion but it has the same problem as using
an image - buttons underneath the button are blocked but fields can still
be used.

I guess I'll have to stick with disabling each group when necessary.  Wish
there was a way to affect the background color of a disabled group but
don't think there is.


Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Sep 20, 2014 at 11:19 AM,  wrote:

> Hi Peter,
> I'm not sure what you're exactly looking for in "looks" but I just now
> made a little test stack with colored buttons.
> You can adjust the blendlevel so that the group is as opaque or as
> transparent as you wish it to be.
> That's one idea.
> Larry
>
> - Original Message - From: "Peter Haworth" 
> To: "How to use LiveCode" 
> Sent: Saturday, September 20, 2014 10:20 AM
> Subject: Usng an image to "disable" a group
>
>
>  I have a stack with a series of groups on it.  I need to control the order
>> in which data is entered into the groups.  The obvious/easy way is to
>> enable/disable the groups as needed but I'm not happy with the way groups
>> look when they are disabled.
>>
>> I vaguely remember a thread about using images to do this since clicks
>> within the image don't make it through to the underlying controls.  When I
>> tried this, clicks on buttons that were under the image did not trigger
>> any
>> mouse events on them, as hoped, but field controls still get focus and I
>> can type into them.
>>
>> It seems like this isn't going to work so looking for other ways to
>> achieve
>> this without having to go through every control in the group and adjusting
>> their properties to disable them.  Alternatively, is there a way to
>> control
>> how a group looks when it is disabled?
>>
>> Pete
>> lcSQL Software 
>> Home of lcStackBrowser  and
>> SQLiteAdmin 
>> ___
>> 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: Usng an image to "disable" a group

2014-09-20 Thread larry

Hi Peter,
I'm not sure what you're exactly looking for in "looks" but I just now made 
a little test stack with colored buttons.
You can adjust the blendlevel so that the group is as opaque or as 
transparent as you wish it to be.

That's one idea.
Larry

- Original Message - 
From: "Peter Haworth" 

To: "How to use LiveCode" 
Sent: Saturday, September 20, 2014 10:20 AM
Subject: Usng an image to "disable" a group



I have a stack with a series of groups on it.  I need to control the order
in which data is entered into the groups.  The obvious/easy way is to
enable/disable the groups as needed but I'm not happy with the way groups
look when they are disabled.

I vaguely remember a thread about using images to do this since clicks
within the image don't make it through to the underlying controls.  When I
tried this, clicks on buttons that were under the image did not trigger 
any

mouse events on them, as hoped, but field controls still get focus and I
can type into them.

It seems like this isn't going to work so looking for other ways to 
achieve

this without having to go through every control in the group and adjusting
their properties to disable them.  Alternatively, is there a way to 
control

how a group looks when it is disabled?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 
___
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