Font selection questions

Mark Swindell mdswindell at cruzio.com
Sun Oct 28 13:25:14 EDT 2007


In Rev's text formatting palette the Choose Font combo box always  
shows the font list in alphabetical order from the beginning.

In my font menu, I would like the font list to pop up at the  
currently active font (preferably check marked and in the center of  
the pop-up choices).  How does one direct a menu to pop up from a  
specific item (the one that is checked, for example)?

Also:

How can you return the menuitem number from the menupick?

For example, "put menuitem 23 of button "fontz"" returns the font  
name, but how can one accomplish the reverse, and have the font name  
(pWhich) return the corresponding menuitem number (23)?

Thanks
Mark



More information about the use-livecode mailing list