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
- Follow-Ups:
- Re: Re: Getting the height and width of controls?
- From: Andrew Meit <meitnik@gmail.com>
- Re: Re: Getting the height and width of controls?