What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [resolved] Checkboxes have three states...

[resolved] Checkboxes have three states...
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. [resolved] Checkboxes have three states...
XML code:
        <Control xsi:type="CheckBoxControl" Id="ChkTest">
            <Position Left="3" Top="3" Width="37" Height="15">
                <Units>AllPixels</Units>
            </Position>
            <Attributes>
                <Has3States>true</Has3States>
            </Attributes>
            <Caption>Test</Caption>
        </Control>

Well, that works fine.  I get a checkbox that switches between unchecked, checked and the square one (don't know the name of it :P).

The problem is...  PlusWnd.Button_IsChecked("ChkTest") returns true for both checked and the 3rd.  Is there a way to check which one it is?  And also, can it be set to the 3rd with PlusWnd.Button_SetCheckState("ChkTest", ThirdState)?

Edit: never mind, found it: http://shoutbox.menthix.net/showthread.php?tid=72761

This post was edited on 02-18-2010 at 04:10 PM by whiz.
02-18-2010 03:47 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: [resolved] Checkboxes have three states...
The "square" one is usually used for sub-groups of options isn't it?

You know that if it's checked, the user has selected at least one sub-item... If not, you can pretty much ignore them (assume they are false)
<Eljay> "Problems encountered: shit blew up" :zippy:
02-18-2010 06:37 PM
Profile PM Find Quote Report
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. RE: [resolved] Checkboxes have three states...
Well, I'm actually going to use them as part of Interface Writer, for editing multiple items (with the square selection for not changing a particular item).  :P
02-18-2010 07:18 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On