MathGroup Archive 2009

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

Search the Archive

Re: Getting the height and width of controls?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98905] Re: Getting the height and width of controls?
  • From: meitnik <meitnik at gmail.com>
  • Date: Tue, 21 Apr 2009 05:10:46 -0400 (EDT)
  • References: <gsivdl$9b1$1@smc.vnet.net>

ok, so far this is what I stumbled upon, but it dones't work right:

t = Button["Click Here", Print[10!]]
AbsoluteCurrentValue[bt, ImageSize]

That code always gives {350,350}. Lots of other options work, but not
getting the height/width of a control.
I can't use CurrentValue for that works only when I actually click the
button, but it too gives only the same answer.
I didnt think getting the simple height/width of a control to be that
hard?? If there is a better way, please teach me. Thanks

Andrew



  • Prev by Date: Re: Looking for more Mathematica online user groups/forums
  • Next by Date: Re: Creating a sign chart
  • Previous by thread: Getting the height and width of controls?
  • Next by thread: Re: Re: Getting the height and width of controls?