I tried that - didn't make any difference. The cursor returns to arrow automatically with the code I have, except when I move the mouse above the datagrid. Pete Molly's Revenge <http://www.mollysrevenge.com>
On Sat, Jul 30, 2011 at 1:05 PM, William de Smet <williamdes...@gmail.com>wrote: > Hi Pete, > > After unlock you have to set the cursor to arrow, > > Greetings, > > William > > ----- > Verstuurd vanaf mijn iPhone! > > Op 30 jul. 2011 om 21:58 heeft Pete <p...@mollysrevenge.com> het volgende > geschreven: > > > Thanks Jeff. I'm trying to implement the cursor change and running into > > some weirdness. > > > > In the script of the datagrid, I have these two handlers: > > > > *on* mouseEnter > > > > *lock* cursor > > > > *set* the cursor to hand > > > > *end* mouseEnter > > > > > > *on* mouseLeave > > > > *unlock* cursor > > > > *end* mouseLeave > > > > > > This changes the cursor as expected and most of the time, it returns to > the > > correct cursor when I move the mouse away from the datagrid. However, if > I > > move the cursor above the datagrid, the cursor stays as the hand and does > > not return to any other image no matter where I move the mouse to. > > > > > > This is the first time I've attempted to control the cursor so no doubt > I'm > > doing something wrong! > > > > > > Pete > > Molly's Revenge <http://www.mollysrevenge.com> > > > > > > > > > > On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung <mass...@gmail.com> > wrote: > > > >> For dragging, I'd go with "handles" on the left side of the datagrid > that > >> have hand icon when you hover over them. They've become pretty > ubiquitous > >> on > >> webpages. For an example of what I mean: > >> > >> http://jqueryui.com/demos/sortable/ > >> > >> As for a context menu, you be okay with just a tool-tip. People > generally > >> try and right-click a lot for things they expect to be there. Otherwise, > >> again, go with something common to show that actions are available. For > >> example, and disclosure triangle on the far right of a UI widget is > >> typically clickable and will bring up a menu. Left-click will bring up > your > >> context menu, and r-click anywhere will bring it up as well. > >> > >> Jeff M. > >> > >> On Sat, Jul 30, 2011 at 12:42 PM, Pete <p...@mollysrevenge.com> wrote: > >> > >>> Wondering if anyone has any thoughts on a couple of user interface > >>> questions. > >>> > >>> I'm providing a popup contextual menu when the user right-clicks on a > >>> datagrid. I'm also providing the ability to re-order rows in a > datagrid > >> by > >>> dragging and dropping them. The common thread between these two > >> functions > >>> is that there is no on-screen indication that they exist. Popup menus > >> are > >>> invisible until they are invoked and drag and drop is equally invisible > >>> until someone initiates it. > >>> > >>> Are there any common methods for indicating to users that features like > >>> this > >>> are available to them? > >>> > >>> Pete > >>> Molly's Revenge <http://www.mollysrevenge.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 > >> > >> > > _______________________________________________ > > 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