How do I Disable a Ribbon button or the Group based on an Order being opened. I looked through the samples and the forum and could only find the _QueryStatus which didn't work for what I need. Thanks in advance.
Danny Little
Pulte Financial Services
Disable Ribbon button based on Order being opened
-
- Posts: 21
- Joined: Fri May 14, 2010 10:18 am
Disable Ribbon button based on Order being opened
Thanks
Danny Little
Danny Little
-
- Posts: 21
- Joined: Fri May 14, 2010 10:18 am
Re: Disable Ribbon button based on Order being opened
I may not have been clear. I want the button to enable when any order is opened. I suppose like the "Apply Template" button in the orders ribbon. Let me apologize in advance if I have missed something.
Thanks
Danny Little
Thanks
Danny Little
Thanks
Danny Little
Danny Little
Re: Disable Ribbon button based on Order being opened
Hi Danny,
Use something like this to achieve what you're asking for:
This will enable your button only in the context of an OrderEditor, i.e. when you have an Order open.
Use something like this to achieve what you're asking for:
Code: Select all
<Using alias="pf" href="C:\Program Files\SoftPro\Select SDK\Include\ProForm.cts" />
.
.
.
<Contexts>
<Context guid="pf:OrderEditorGuid">
<ContextItem id="RibbonButton1" />
</Context>
</Contexts>