scrollable-like navigation of images in a group-object
m.schonewille at economy-x-talk.com
Mon Jan 18 18:21:44 CST 2010
You might simply try to grab command, if all you want to do under (2)
is to move the image around. Set the lockLoc of the group to true and
the image will just move inside the group. I'm not sure what happens
of the user manages to drag far enough to move the image entirely off-
You could also use a repeat loop, which sets the loc of the image to a
value dependent on the mouseLoc.
Personally, I would change the vScroll and hScroll of the group while
the user moves the mouse over the image while pressing the mouse
button. You don't need to dislplay scroll bars for this.
Economy-x-Talk Consulting and Software Engineering
TwistAWord supports Haiti. Buy a license for this word game at http://www.twistaword.net
and support the earthquake victims.
Op 19 jan 2010, om 01:11 heeft Nicolas Cueto het volgende geschreven:
> I've grouped a large number of images, then set the height of the
> group-object to be smaller than the actual height-area covered by the
> images (the widths are ok).
> Next, I'd like to enable keyboard navigation such that users use keys
> rather than the mouse to:
> (1) hilite/select individual images
> (2) bring into display images outside the boundaries of the
> group-object's size (ie, vertical scrolling).
> I realize groub-object's already have a built-in scrollbar property,
> but want to avoid relying on or displaying scrollbars for this
> particular stack in progress.
> What Rev commands/properties might be involved for this effect?
> Thank you.
> Nicolas Cueto
More information about the use-livecode