I have an app that calls the label template wizard in code. What must I deploy with my app to make the list of labels and the component captions available when I invoke the wizard?
Try either using this or getting the info you need from it. I did this about a year ago. To change a reports label layout call: try frmLabelDialog := TfrmLabelDialog.Create(Self); frmLabelDialog.ChangeRep := aReport; frmLabelDialog.ShowModal; finally frmLabelDialog.Free; end;
where aReport is the report you want to change. The dialog will display and the report will be altered temorarily!
Below is a link to an example that shows how to launch the label template wizard in code separate from ReportBuilder. This may help with both of the issues you have encountered.
Comments
about a year ago. To change a reports label layout call:
try
frmLabelDialog := TfrmLabelDialog.Create(Self);
frmLabelDialog.ChangeRep := aReport;
frmLabelDialog.ShowModal;
finally
frmLabelDialog.Free;
end;
where aReport is the report you want to change. The dialog will display and
the report will be altered temorarily!
Hope this helps,
Branden Johnson
Below is a link to an example that shows how to launch the label template
wizard in code separate from ReportBuilder. This may help with both of the
issues you have encountered.
http://www.digital-metaphors.com/tips/LaunchLabelWizardInCode.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com