realbasic-nug
[Top] [All Lists]

How to 'push' a PopUpMenu on MacOS

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: How to 'push' a PopUpMenu on MacOS
From: Dr Gerard Hammond <g dot hammond at garvan dot org dot au>
Date: Mon, 31 May 2004 13:39:07 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
Hi,

I am trying to enable my MacOS data entry people more keyboard control of popupmenu's on my data entry screen.

I want to be able to control the selected row of a popup menu without using the mouse. On windows, the popupmenu can getfocus but not on a Mac, so I am currently trying various tricks to enable keyboard entry into the popupmenu

I currently have an editfield next to each popup acting as a controller for it's popupmenu brother. A key down key in the editfield sets the listindex of the correspoding popupmenu to be +1. This works ok-ish but it is a lot of work when you have a lot of popup menus (There's > 400 fields in this particular screen hence the need to make data entry as easy as possible).

I would like the user to see all the options and use the up/down arrows of the popup menu rather than mouse.


Besides recommending, heaven forbid, that they get a PC, can anyone suggest how I can cause the popup menu to automatically popup (say when editfield gets focus?). I guess I am looking for the equivalent .push method for a popupmenu, like the .push of a pushbutton. Perhaps it should be .pop method ;-)

I am using 4.5.
5.5's new popdown menu isn't an option at this stage.
--

Cheers,

Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.

All those who believe in psychokinesis raise my hand.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>
  • How to 'push' a PopUpMenu on MacOS, Dr Gerard Hammond <=