Hilite Line of option box
I'm trying to use an option box and program it so I don't have to use the mouse. When I enter the box I'd like to use my down arrow and have the options displayed in the pull down. I can do this by: on arrowKey theKey if theKey is down then click at the loc of btn PIC end if end arrowKey The menu box pulls down but the problem is that it doesn't hilite the first line in the choices. I've tried something like hitlite line 1 of me but that seem to work. Any help would be greatly appreciated. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hilite Line of option box
Hi Jeff, On Mac OS X, I had no problems selecting a line of a menu button using arrow keys. On Windows, it simply didn't work. The following scripts might help to get you started with a work-around. Card script can be anything like this: on arrowkey foo set the screenmouseloc to globalloc(the loc of of btn 1) if foo is down then click at the loc of btn 1 else pass arrowkey end if end arrowkey Script for the menu button: on arrowkey theKey if the platform is Win32 then if theKey is up then put 1 into myDirection else if theKey is down then put -1 into myDirection end if put 0 into myV repeat until keysDown() is empty add myDirection to myV set the screenmouseLoc to (item 1 of the screenmouseloc ¬ comma (item 2 of the screenmouseloc - myV)) wait 50 millisecs with messages end repeat else pass arrowKey end if end arrowkey best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 26-jan-2007, om 17:11 heeft Jeff Honken het volgende geschreven: I'm trying to use an option box and program it so I don't have to use the mouse. When I enter the box I'd like to use my down arrow and have the options displayed in the pull down. I can do this by: on arrowKey theKey if theKey is down then click at the loc of btn PIC end if end arrowKey The menu box pulls down but the problem is that it doesn't hilite the first line in the choices. I've tried something like hitlite line 1 of me but that seem to work. Any help would be greatly appreciated. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Option Box
I'm using an option box in my application to allow a user to choose a static list. I'm using the on menuPick handler to save the information to a database. The information saves if you use the mouse to choose the value. The problem is when you a user tabs into the field and then uses the down arrow to identify their choice. They then tab or return out of the field. The data doesn't update to the new value. Is there another handler I should be using? Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Option Box
I figured this on out. I was grabbing the selectedtext vs the label. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Honken Sent: Wednesday, March 22, 2006 8:32 AM To: use-revolution@lists.runrev.com Subject: Option Box I'm using an option box in my application to allow a user to choose a static list. I'm using the on menuPick handler to save the information to a database. The information saves if you use the mouse to choose the value. The problem is when you a user tabs into the field and then uses the down arrow to identify their choice. They then tab or return out of the field. The data doesn't update to the new value. Is there another handler I should be using? Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution