BTW, I think I would try locking and unlocking messages before and after
your edit group stuff and see if that doesn't clear up the mouseUp message..
On Fri, Oct 17, 2008 at 1:55 PM, Richard Gaskin
<[EMAIL PROTECTED]>wrote:
> but I never get a mouseUp or mouseRelease to empty my dragging flag. :
On Fri, Oct 17, 2008 at 5:35 PM, Richard Gaskin
<[EMAIL PROTECTED]>wrote:
> without having to set the editBackground (which I admit made me squeamish
> when it seemed the only alternative).
Yep, tend to agree. I only use the editBackground trick while in the IDE and
for a tool. Sounds like you g
Many thanks to all who offered advice on this.
Eric Chatonet was kind enough to email me a nifty handler that solves
the problem very well, without having to set the editBackground (which I
admit made me squeamish when it seemed the only alternative).
--
Richard Gaskin
Fourth World Media Co
Bonsoir Richard,
I let apart the move part of the job to focus on layering:
on MoveGroupToFront pGroup
local tTarget,tOwner,tLayer,tPeers,tRelayerGroupedControls
-
put the abbr id of grp pGroup into tTarget
put the long owner of tTarget into tOwner
put the layer of tOwner + 1 into
On Oct 17, 2008, at 3:17 PM, Richard Gaskin wrote:
Chipp's thread went into that in detail, but in short all the icons
are in a group and turning on the relayerGroupedControls (necessary
to relayer stuff without a group without using editBackground) and
then setting the layer causes the ico
Bonsoir Richard,
I have the same behavior in an app of mine, written two years ago and
used every day...
I have groups composed with an image and buttons that belong
themselves to a main group.
When the user clicks such a sub group, I bring it to top and allow to
move it.
I have no time rig
Hi Richard,
I don't know why you're not getting a "mouseUp" at mouseUp time. As a
workaround, I suppose you could use something like this:
on mouseMove x,y
if sIsDragging is true then
cancel sMyMouseUp -- stop most recent mouseUp msg from firing
set the topleft of me to (x-xOff),(y-yOff
Mark Schonewille wrote:
Why edit the group? Can't you just get all layer numbers of all
groups, take the highest number and set the layer of the target group
to to that number? Subsequently, get all layer numbers of of the
controls in a group and set the layer number of the target control to
Hi Richard,
Why edit the group? Can't you just get all layer numbers of all
groups, take the highest number and set the layer of the target group
to to that number? Subsequently, get all layer numbers of of the
controls in a group and set the layer number of the target control to
the high
I need to build a UI similar to the Finder or Windows Explorer, in which
there are icons that can be moved around, and selecting one brings it in
front of the others. To drag you just click and drag of course, and the
icon first come to the front then does the dragging action.
These icons are
10 matches
Mail list logo