N
newmaid
Unregistered / Unconfirmed
GUEST, unregistred user!
我现在要在ManualBuild事件中建立一动态的TFrMemoview控件.建立不成功(显示不出来).
但是,原来在fastreport中的frmemoview控件就显示得出来.不解?!
procedure TForm1.fr1ManualBuild(Page: TfrPage);
var v :tfrmemoview;
begin
v := TfrMemoView.Create;
v.SetBounds(140, 240, 100, 100);
v.Prop['Alignment'] := frtaCenter;
v.Prop['Font.size'] := 14;
v.Prop['Font.name'] := '隶书';
v.Name := 'demo1';
v.Memo.Text := '测试';
Page.Objects.Add(v);
//page.ShowBandByName('主项数据1');
end;
请问有什么不对吗?请大家指教,新手,请不吝指教,万分感谢!!!!
但是,原来在fastreport中的frmemoview控件就显示得出来.不解?!
procedure TForm1.fr1ManualBuild(Page: TfrPage);
var v :tfrmemoview;
begin
v := TfrMemoView.Create;
v.SetBounds(140, 240, 100, 100);
v.Prop['Alignment'] := frtaCenter;
v.Prop['Font.size'] := 14;
v.Prop['Font.name'] := '隶书';
v.Name := 'demo1';
v.Memo.Text := '测试';
Page.Objects.Add(v);
//page.ShowBandByName('主项数据1');
end;
请问有什么不对吗?请大家指教,新手,请不吝指教,万分感谢!!!!