工具栏上的一个SpeedButton按钮如果要设置为状态按钮,则正确设置的方法是() 
A、将SpeedButton按钮的GroupIndex属性设置为0,且AllowAllUp属性设置为True。
B、将SpeedButton按钮的GroupIndex属性设置为0,且AllowAllUp属性设置为False。
C、将SpeedButton按钮的GroupIndex属性设置为非0值,且AllowAllUp属性设置为True。
D、将SpeedButton按钮的GroupIndex属性设置为非0值,且AllowAllUp属性设置为False。