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 underlyin

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 SQLiteA

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 i

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 ti

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 t

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 o

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 blo

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.

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

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 i

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

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

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

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

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. >

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 acc

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

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

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 any

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 gro

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