怎么把quickreport报表预览的close变成关闭??(50分)

  • 主题发起人 zealothasu
  • 开始时间
Z

zealothasu

Unregistered / Unconfirmed
GUEST, unregistred user!
修改QREPORT的界面文件,QRPREV.DFM,好象是这个,在DELPHI的LIB目录下
打开看看就知道了TEXT下改
 
汉化这个没有什么意义的。
 
改动:function getGroupFromSet(v: TIntSet): string;
在开始位置加
begin
if v = [] then
begin
result := '';
exit;
end;
//

procedure TMainForm.FormColorControl(Sender: TObject);
var
i, mycount: integer;
xp: TXPMenu;
begin

if XP_Face then
begin
if Screen.ActiveForm = nil then
exit;
with Screen.ActiveFormdo
begin
for i := 0 to ComponentCount - 1do
begin
if Components is TXPMenu then
exit;
end;
if Screen.ActiveForm is TQRStandardPreview then
begin
with TQRStandardPreview(Screen.ActiveForm)do
begin
Caption := self.Caption +' —— 打印预览';
ExitButton.Caption := '退出';
FirstPage.Hint:='第一页';
PreviousPage.Hint:='上一页';
ToolButton2.Hint:='下一页';
LastPage.Hint:='最后一页';
PrintSetup.Hint:='设置打印机';
Print.Hint:='打印';
SaveReport.hint:='保存报告';
LoadReport.hint:='读取报告';
xp := TXPMenu.Create(Screen.ActiveCustomForm);
xp.XPControls:=[xcPopupMenu, xcToolbar];
xp.AutoDetect := false;
xp.Active := true;

end;
end
else
begin
xp := TXPMenu.Create(Screen.ActiveCustomForm);
xp.AutoDetect := false;
xp.Active := true;
end;
end;
end;

end;
 
为什么没意义呢
客户的需要。。。。。。。。。。。。。。
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
407
import
I
D
回复
0
查看
2K
DelphiTeacher的专栏
D
顶部