Are you trying to construct a stack menu? That is, are you laying out a stack that will pop up when you right-click on something? Are you aware that there are other ways of popping up a contextual menu that leave all the formatting to the engine and the operating system? You really only need a stack menu if you explicitly need it to look and operate differently from your ordinary contextual menu. I have a pop-up contextual menu button and script for a classic contextual menu that makes calling the popup a one-line affair -- put popChoose("right", "left","center") into userChoice. If you're interested email me and I'll send it to you.
-- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 9, 2013, at 4:32 AM, Graham Samuel wrote: > I've never built a context menu up to now, and I'm struggling a bit. I have > made it work with the aid of the LC docs, but my popup doesn't look exactly > like a conventional menu. I need to know which font, style and size are > needed, and the exact spacing (the size of the underlying buttons and the > text margins). As this is a cross-platform desktop app, I need to know these > for both Mac and Windows. Here the LC docs don't help AFAICS. Of course I can > do it by experiment but there are a heck of a lot of fonts. > > Can anyone who's already done it tell me exactly how to configure context > menus to look like native controls? > > TIA > > Graham > > PS - the LC docs tell one to set the individual buttons' autoArm and > armBorder properties to true. I had to do this with the LC Message Box > because I couldn't find these properties in any other way. I naively thought > that in LC 6.0.1 you can reveal (and therefore set) all properties of an > object. Was I wrong? > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode