How do resize a Control inserted in Richview
Posted: Thu Jul 12, 2007 8:22 pm
Hi,
I am getting a problem.
I have inserted a Control in Richview, but i am not able to resize that control, even if i have set the Extra item property resizeable
This is the code i have written
procedure TForm1.Sample;
var
LPanel : TPanel;
begin
LPanel := TPanel.Create(nil);
RichViewEdit1.InsertControl('Test', LPanel, rvvaBaseline );
RichViewEdit1.Format;
RichViewEdit1.SetItemExtraIntPropertyEd(0, rvepResizable, 100, True );
end;
I am getting a problem.
I have inserted a Control in Richview, but i am not able to resize that control, even if i have set the Extra item property resizeable
This is the code i have written
procedure TForm1.Sample;
var
LPanel : TPanel;
begin
LPanel := TPanel.Create(nil);
RichViewEdit1.InsertControl('Test', LPanel, rvvaBaseline );
RichViewEdit1.Format;
RichViewEdit1.SetItemExtraIntPropertyEd(0, rvepResizable, 100, True );
end;