控制负数输入.txt

procedure TMakePriceForm.DbgKeyPressProc(var okey: Char);
var
  vIsCancel: Boolean;
  vKeShiBM, vKeShiMC: string;
  vVariant: Variant;
begin //20090216 wqs 控制负数输入
   if not (oKey in ['0'..'9', #8, #13]) then
  begin
    oKey := #0;
  end;

posted on 2009-09-08 16:55  舟山牙医  阅读(133)  评论(0编辑  收藏  举报

导航