MathGroup Archive 2004

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

Search the Archive

Re: Re: GUIKit - ScrollPane Tables within Wizard

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53041] Re: [mg52924] Re: GUIKit - ScrollPane Tables within Wizard
  • From: Jeff Adams <jeffa at wolfram.com>
  • Date: Tue, 21 Dec 2004 05:19:19 -0500 (EST)
  • References: <cpp06v$aif$1@smc.vnet.net><cpriiv$quq$1@smc.vnet.net> <200412171018.FAA16022@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Dec 17, 2004, at 4:18 AM, paulw at cwgsy.net wrote:
>
> Another thing i find useful is to check on variable values. For
> example, AutoResize in Java uses "AUTO_RESIZE_SUBSEQUENT_COLUMNS",
> "AUTO_RESIZE_NEXT_COLUMN", "AUTO_RESIZE_OFF", whereas Mathematioca uses
> 2,1,0 for the same values.

One feature of GUIKit is to also allow access to static public fields
through PropertyValue, so if you prefer 'readable' named code that will
also work in the future if the underlying objects decide to change
the mapped values you can also do the following:

   PropertyValue[{"myTable", "AUTO_RESIZE_SUBSEQUENT_COLUMNS"}]
   instead of 2

or even PropertyValue[{"myTable", "Auto_Resize_Subsequent_Columns"}] 
since
property value names (and event and method names) are case insensitive 
to
provide support for Mathematica's casing standards

Jeff Adams
Wolfram Research


  • Prev by Date: Information about subscripted function
  • Next by Date: Re: Primes (again)
  • Previous by thread: Re: GUIKit - ScrollPane Tables within Wizard
  • Next by thread: Integrate in version 5.1