I did something similar by putting a popup menu on a window, and leaving its Visible property false until it was needed. When needed, I used its top and Width properties to make it visible over the appropriate part of the ListBox or Editfield. When the user chose the new value from the popup, (or moved the mouse away - or whatever) the new value transferred to the cell, and the popup once again becomes invisible. This worked OK on the Mac (OS 10.4, RB2006v1). On the PC, I ended up leaving the popup in a position of its own.

Russ

On Apr 7, 2006, at 2:19 PM, Charles Yeomans wrote:


On Apr 7, 2006, at 2:13 PM, Charles Ross wrote:

Charles,

I think what he had in mind was to actually have a column of popup menu widgets in the listbox. In fact this is possible (on MacOS X, at least), but the technique is well beyond the scope of this list.

Charles Yeomans

You are correct in what I would ideally like to have. You say that it's possible on OS X (at this time, all client machines are Macs), but beyond the scope of the list. Have you any pointers to others on the web who may cover this technique? While a contextual menu would do the job, it won't be obvious to the user that the menu is available.


Actually, I don't know whether it has ever been done. What I would do would be to use MacOS Appearance Manager functions to draw a PopupMenu control into the cell, then use the MenuItem methods to display a menu. Calling the Appearance Manager is the part that is somewhat more advanced.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

Reply via email to