Re: GUIKit - Number of digits
- To: mathgroup at smc.vnet.net
- Subject: [mg63926] Re: GUIKit - Number of digits
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Sun, 22 Jan 2006 00:52:44 -0500 (EST)
- References: <dqqb90$loj$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Emanuel wrote: > Is there a possiblity to set the number of digits in a > Textfield-Widget? The usual Mathematica command N[expr, n] doesn't > work. > > Thanks, > Emanuel > Hello, The TextField widget takes text - it does not even know that the string you put in it is a number. Perhaps you should post some actual code. Alternatively, you might want to try my Super Widget Package (free at my site), which sits on top of GUIKit and makes it much easier to use. The SuperWidgetRealBox is a effectively a TextField widget specialised to handle real numbers. You can specify the width of the field in characters, which may suit your needs. David Bailey http://www.dbaileyconsultancy.co.uk