Re: Change Default Button Method
- To: mathgroup at smc.vnet.net
- Subject: [mg110791] Re: Change Default Button Method
- From: Simon <simonjtyler at gmail.com>
- Date: Tue, 6 Jul 2010 05:03:49 -0400 (EDT)
- References: <i0u00b$jpo$1@smc.vnet.net>
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