Web Program/Html Lecture

TButton 정렬 변경하기.

현이빈이 2008. 9. 4. 18:41
반응형

procedure TForm1.Button3Click(Sender: TObject);
var
  AStyle:Integer;
begin
  AStyle:=GetWindowLong(Button1.Handle,GWL_STYLE);
  AStyle:=AStyle or BS_LEFT;
  SetWindowLong(Button1.Handle,GWL_STYLE,AStyle);

end;

반응형