Creating Custom Report by code

BPRobinsonBPRobinson Canada
edited 3:19AM in FastReport 4.0
I have an envelope program which I have created the ability to create custom size envelopes/labels.
Originally I only allowed one envelope at a time and it worked ok.
Now I am allowing more than one envelope to be printed at a time, but getting two (eg) return addresses and two(eg) forwarding addresses on envelope size.

I need help with getting the Master databand to adjust height to accommodate a return address and then forwarding address.
I tried to use Page height value but it is extended and may not be compatible with Databand height.

I tried 100 height for small envelop and worked.
I tried 500 height for large envelope and worked.
But, I need to adjust these height. I use the setting from a table for the custom envelope settings.

Help is appreciated,
Brian

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:19AM
    write code in the obp event of the masterdataband to set the engine cury to a value you want for the second envelope

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.