델파이
델파이에서 체크박스를 토글버튼처럼 쓰기
띠리
2007. 11. 28. 20:11
델파이에서 체크박스를 토글버튼처럼 쓰기
procedure TForm1.FormCreate(Sender: TObject);
begin
SetWindowLong(CheckBox1.Handle,
GWL_STYLE,
GetWindowLong(CheckBox1.Handle, GWL_STYLE)
or BS_PUSHLIKE);
end;
begin
SetWindowLong(CheckBox1.Handle,
GWL_STYLE,
GetWindowLong(CheckBox1.Handle, GWL_STYLE)
or BS_PUSHLIKE);
end;