P peizmbj Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-17 #1 一个窗体上有3个SpeedButton1 控件 如何让SpeedButton1.down:=True;后 在让SpeedButton1 为凸起来的状态????????
C cdj000 Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-17 #2 好像 SpeedButton1.GroupIndex := 0; 可以吧
P peizmbj Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-17 #3 答案出来了 三个BTN的GroupIndex都不能=0也不能相等 三个BTN的Allowallup:=True; 就可以了
H hzjzxp Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-18 #5 三个SpeedButton的GroupIndex都不能=0也不能相等 三个SpeedButton的Allowallup:=True if speedbutton1.Down then begin speedbutton2.Down := False; speedbutton3.Down := False; end else begin speedbutton2.Down := True; speedbutton3.Down := True; end;
三个SpeedButton的GroupIndex都不能=0也不能相等 三个SpeedButton的Allowallup:=True if speedbutton1.Down then begin speedbutton2.Down := False; speedbutton3.Down := False; end else begin speedbutton2.Down := True; speedbutton3.Down := True; end;