MathGroup Archive 2010

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

Search the Archive

Re: Change Default Button Method


Hi Nate,

You can see the default options using:
In[1]:= Options[Button]
Out[1]= {Active->True,Alignment->Automatic,Appearance-
>Automatic,AutoAction->False,Background->Automatic,BaselinePosition-
>Automatic,BaseStyle->GenericButton,DefaultBaseStyle->Button,Enabled-
>Automatic,Evaluator->Automatic,FrameMargins->Automatic,ImageMargins-
>0,ImageSize->Full,Method->Preemptive}

You can set options with:
In[2]:= SetOptions[Button,Method->"Queued"]
Out[2]= {Active->True,Alignment->Automatic,Appearance-
>Automatic,AutoAction->False,Background->Automatic,BaselinePosition-
>Automatic,BaseStyle->GenericButton,DefaultBaseStyle->Button,Enabled-
>Automatic,Evaluator->Automatic,FrameMargins->Automatic,ImageMargins-
>0,ImageSize->Full,Method->Queued}

Simon

On Jul 6, 11:13 am, Nate Dudenhoeffer <ndudenhoef... at gmail.com> wrote:
> I frequently use buttons in my projects, and almost always use the
> Mehod->"Queued" option.  Is there a way to change the default setting so I
> don't have to type this every time?  It seems like this should be possible
> using a stylesheet, but I don''t know the syntax.  Any help would be
> appreciated.
>
> Nate



  • Prev by Date: Re: Copying and Pasting from a Grid with Dividers
  • Next by Date: Re: The side-effects of mixing TraditionalForm inside expressions.
  • Previous by thread: Change Default Button Method
  • Next by thread: Re: Change Default Button Method