MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: How can I change the default path for the function "Put"?
  • Next by Date: Writing a graphic to a notebook, cont
  • Previous by thread: Re: Re: Mathematica skill level snippet(s)
  • Next by thread: Re: How to make floating control elements?