How to make floating control elements?
- To: mathgroup at smc.vnet.net
- Subject: [mg104671] How to make floating control elements?
- From: István <replicatorzed at gmail.com>
- Date: Fri, 6 Nov 2009 05:18:03 -0500 (EST)
Dear Group, I would like to create a custom control, with a floating element, that appears if one of the buttons in the control is pushed. The floating box would be (technically) similar to the dropdown list of PopupView or PopupMenu, which appears without shifting things (e.g. other controls) below the popup control. I tried to figure out the low-level structure of the popup commands, but there's nothing in the doc.center about the floating component. I guess I can solve my problem just by using PopupView, but in this way I cannot fully customize the appearance and position of the dropdown box, and I still cannot create a standalone floating box (to link it to e.g. a custom graphics in EventHandler) as PopupView still has a button. Perhaps the option MenuAppearance is responsible for such things, but it is undocumented. Can anyone help on this? Istvan Zachar