Beiträge von craigism

    Zitat von wpsupport


    This requires the 'manual' loading of the field contents.
    To do this please use the event OnRefreshData which receives the current object. You can set the caption using
    (Graphic as TWPFGGraphicText).Caption := '...';
    e.g. using a text calculated using the formula from Graphic.Name or Graphic.Formula.

    So I guess you mean to look up my own data using the "Graphic.Name" to know what field, then place it in the "Graphic.Caption".

    That is what I did and it works.

    When I drag and drop a field from a dataset onto a label the fields is created fot 8.5" wide rather than sized for the label. I tested this in your provided example app (with my dataset) as well.

    How do I make the with of the field work with the lable size?
    OR
    How do I change the auto width function to make correctly sized fields?

    I know this WpForm is a rather old but I just need some directiion.

    Delphi 7 + WpForm

    Thanks.