纸牌控件的编写(下)[1]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 xzhifei 的 blog

constructor tzfplaycard.create(aowner: tcomponent);

var

  x, y: integer;

begin

  inherited create(aowner);

  fcardid := 1;

  cdtinit(x, y);

  setbounds(0, 0, x, y);

  controlstyle := [csclickevents, csdoubleclicks];

  enabled := true;

  canvas.brush.style := bsclear;

  fglyph := tbitmap.create;

end;

本文关键:PlayCard
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top