How to stop scrolling with pull down menus in scrooling fields...
I want to be able to click on a line in a scrolling field and then have a menu appear in order to manipulate the line clicked on with a script. So far I can do pretty much what I want with a mouseDown handler and th epulldown command. I want to use a single object (no transparent buttons), and will want to do this eventually in a mouseStilldown handler. The problem is: when the menu appears, and the user scrools to select a menu item the field also continues to scroll. The question is therefore: how do i stop the field from scrolling when the menu is being selected? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: How to stop scrolling with pull down menus in scroolingfields...
Don't know if this will help - haven't tried it - but you might try using a field instead of a pulldown for your menu. I've used this technique in other situations, and it seems that the focus should pass to the field being used as a menu (you'll need to make sure it gets a higher layer number), so the original field should stop scrolling. You can still simulate the look feel of a menu with a field by scripting (that is, getting different lines to hilite as the user moves the mouse down the field) - I can send you an example offlist if you're interested. Dave Tremmel I want to be able to click on a line in a scrolling field and then have a menu appear in order to manipulate the line clicked on with a script. So far I can do pretty much what I want with a mouseDown handler and th epulldown command. I want to use a single object (no transparent buttons), and will want to do this eventually in a mouseStilldown handler. The problem is: when the menu appears, and the user scrools to select a menu item the field also continues to scroll. The question is therefore: how do i stop the field from scrolling when the menu is being selected? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: How to stop scrolling with pull down menus in scroolingfields...
Thanks please do. From: "David C. Tremmel" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 26 Jul 2000 16:28:06 -0400 To: [EMAIL PROTECTED] Subject: Re: How to stop scrolling with pull down menus in scrooling fields... Don't know if this will help - haven't tried it - but you might try using a field instead of a pulldown for your menu. I've used this technique in other situations, and it seems that the focus should pass to the field being used as a menu (you'll need to make sure it gets a higher layer number), so the original field should stop scrolling. You can still simulate the look feel of a menu with a field by scripting (that is, getting different lines to hilite as the user moves the mouse down the field) - I can send you an example offlist if you're interested. Dave Tremmel I want to be able to click on a line in a scrolling field and then have a menu appear in order to manipulate the line clicked on with a script. So far I can do pretty much what I want with a mouseDown handler and th epulldown command. I want to use a single object (no transparent buttons), and will want to do this eventually in a mouseStilldown handler. The problem is: when the menu appears, and the user scrools to select a menu item the field also continues to scroll. The question is therefore: how do i stop the field from scrolling when the menu is being selected? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: How to stop scrolling with pull
I want to be able to click on a line in a scrolling field and then have a menu appear in order to manipulate the line clicked on with a script. So far I can do pretty much what I want with a mouseDown handler and th epulldown command. I want to use a single object (no transparent buttons), and will want to do this eventually in a mouseStilldown handler. If you are talking about a contextual menu (right-click or control-click) it is best done with a separate stack (substack) with buttons on it and the command "popup stackName". The problem is: when the menu appears, and the user scrools to select a menu item the field also continues to scroll. The question is therefore: how do i stop the field from scrolling when the menu is being selected? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Regards, Andu __ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.