Help!

Outlook::OlkOptionButton question

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  Web Query  
Author Message
John Erickson
External


Since: Aug 08, 2009
Posts: 9



PostPosted: Sat Aug 08, 2009 10:40 am    Post subject: Outlook::OlkOptionButton question
Archived from groups: microsoft>public>outlook>program_addins (more info?)

I have a group of 4 Outlook::OlkOptionButton's that I want to make tri-state.
By tri-state I mean I want the user to be able to select either 0 or 1 of the
4 buttons. If he clicks on a button that is already set, it should turn off
the button and then 0 of the buttons would be selected. Is that possible? Do
I need to use a different button type?
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Sat Aug 08, 2009 4:30 pm    Post subject: Re: Outlook::OlkOptionButton question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are no buttons like that. If you click an option that's already
clicked it remains clicked. You'd have to simulate that with a set of
regular buttons or checkboxes. Of course the shapes are different.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John Erickson" <JohnErickson.DeleteThis@discussions.microsoft.com> wrote in message
news:7E540830-7E5A-4381-983F-4C2F32C981DF@microsoft.com...
>I have a group of 4 Outlook::OlkOptionButton's that I want to make
>tri-state.
> By tri-state I mean I want the user to be able to select either 0 or 1 of
> the
> 4 buttons. If he clicks on a button that is already set, it should turn
> off
> the button and then 0 of the buttons would be selected. Is that possible?
> Do
> I need to use a different button type?
Back to top
John Erickson
External


Since: Aug 08, 2009
Posts: 9



PostPosted: Sat Aug 08, 2009 4:30 pm    Post subject: Re: Outlook::OlkOptionButton question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Ken. I think I figured out another way around that problem. I haven't
implemented it yet, but I think it will work. Instead of making all 4 option
buttons part of the same group I can leave them stand-alone or make them part
4 seperate groups. Then I would have total control over which ones are
selected and which ones aren't programatically.

"Ken Slovak - [MVP - Outlook]" wrote:

> There are no buttons like that. If you click an option that's already
> clicked it remains clicked. You'd have to simulate that with a set of
> regular buttons or checkboxes. Of course the shapes are different.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "John Erickson" <JohnErickson DeleteThis @discussions.microsoft.com> wrote in message
> news:7E540830-7E5A-4381-983F-4C2F32C981DF@microsoft.com...
> >I have a group of 4 Outlook::OlkOptionButton's that I want to make
> >tri-state.
> > By tri-state I mean I want the user to be able to select either 0 or 1 of
> > the
> > 4 buttons. If he clicks on a button that is already set, it should turn
> > off
> > the button and then 0 of the buttons would be selected. Is that possible?
> > Do
> > I need to use a different button type?
>
>
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Mon Aug 10, 2009 9:48 am    Post subject: Re: Outlook::OlkOptionButton question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You would need to set each individual option in a frame or some container
that keeps each separate. In general all options not encapsulated within a
container such as a frame are treated as part of the same linked group.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John Erickson" <JohnErickson DeleteThis @discussions.microsoft.com> wrote in message
news:7E21B97C-D0F0-436F-9195-13F5B3070102@microsoft.com...
> Thanks Ken. I think I figured out another way around that problem. I
> haven't
> implemented it yet, but I think it will work. Instead of making all 4
> option
> buttons part of the same group I can leave them stand-alone or make them
> part
> 4 seperate groups. Then I would have total control over which ones are
> selected and which ones aren't programatically.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum