Loop through objects in MasterData Band

edited 11:03AM in FastReport Studio
How would I do this in the MasterData.OnBeforePrint function. I want to loop through the objects in the MasterData band in order to change their fond style to bold. Like a FOR loop.

Thank you.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited June 2010
    var
    i: Integer;
    c: TObject;

    for i := 0 to Sender.Objects.Count - 1 do
    begin
    c := Sender.Objects
    if c is TfrxMemoView then
    TfrxMemoView©.font.style :=fsbold;

    end;
  • edited 11:03AM
    Thanks for the code. I have been digging for this code here and there for a few days. At last I found it in this thread.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.