起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 112|回复: 1

【搞定】调用出错![问题]**

[复制链接]
发表于 2007-4-12 11:14:46 | 显示全部楼层 |阅读模式
在业务信息层写了一个过程
procedure TINFOFAQ.setToolBar(AToolBar: TCustomBizToolBar;AIndex: array of Integer);
var i : integer;
begin
if AIndex.Length > 0 then
begin
for i := 0 to AIndex.Length do
   begin
    AToolBar.Controls[AIndex].Enabled := false;
    AToolBar.Controls[AIndex].Visible := false;
   end;
end;
end;
在功能中调用
procedure TMainForm.BizFormShow(Sender: TObject);
begin
infofaq.TINFOFAQ(info_faq.info).setToolBar(FlowBar,[0,2]);
end;
会出错,提示如图

1.jpg

8.12 KB, 下载次数: 48

回复

使用道具 举报

 楼主| 发表于 2007-4-12 14:25:48 | 显示全部楼层

结帖,解决。

结帖,解决。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-6-18 22:37 , Processed in 0.057977 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表