shift label

good day!

I have a table that has three fields.
This put the masterdata(fast-report) into three fields.
The fields are empty, empty their shows.
When I want to display, rather than empty fields are given shift.
As code:
in before print fast-report:
if memo1.text='' then
memo2.top:=3
else 
memo2.top:=5;

thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:49AM
    in report script code
    Typically write code in obp event of the band containing the memos.
    if <datasetname."fieldname"> = '' then
    begin
    //change object props here
    end;
    or just set the engines cury prop in the obp event of the memo you want to move
    if <datasetname."fieldname"> = '' then
    begin
    engine.cury := engine.cury - value;
    end;

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.