我把它install了一下结果看不见,是我的代码有问题吗
代码如下:哪位大侠救救我
unit QZXEdit;interfaceuses
  Windows, Messages, SysUtils, Classes, QControls, QStdCtrls;type
  TInputType=(cString,cInteger,cFloat,cMoney);
  TZXEdit = class(TEdit)
  private
    { Private declarations }
    FInputType:TInputType;
  protected
    { Protected declarations }
        procedure KeyPress(var Key: Char); override;
  public
    { Public declarations }
  published
    { Published declarations }
    property InputType:TInputType read FinputType write FinputType Default cstring;
  end;procedure Register;implementationprocedure Register;
begin
  RegisterComponents('ZXControl', [TZXEdit]);
end;{ TZXEdit }procedure TZXEdit.KeyPress(var Key: Char);
begin
  inherited;
  if FInputType=cInteger then
  begin
        if (Key<'0') or (Key>'9') then
        begin
                if Key>Chr(26) then
                begin
                        Key:=Chr(0);
                end;
        end;
  end;
end;end.