if i<>-1 then
CustForm.ProductEdit.ItemIndex:=i
else
begin
messagebox(CustForm.Handle,''''你在客户程序指定的商品类型并不存在!'''',''''CustProOLE常规错误'''',MB_ICONWARNING);
CustForm.ProductEdit.ItemIndex:=0;
end;
end;
procedure TCustFormOLE.Set_ProductNum(Value: Integer);
begin
CustForm.ProNumEdit.Value:=Value;
end;
procedure TCustFormOLE.Set_Remark(const Value: WideString);
begin
CustForm.Memo1.Lines.Text:=Value;
end;
initialization
TAutoObjectFactory.Create(ComServer, TCustFormOLE, Class_CustFormOLE,
ciMultiInstance, tmApartment);
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




