MathGroup Archive 2004

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

Search the Archive

Re: Re: GUIKit - ScrollPane Tables within Wizard

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

On Dec 17, 2004, at 4:18 AM, paulw at 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"}] 
property value names (and event and method names) are case insensitive 
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