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
).
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