Search the Wiki

Viewing 256 to 258 of 408 items

How To…Launch the Label Wizard in Code

Question “How do I launch the label wizard directly in code without having to go through the designer?” Solution Do this by manually creating a TppLabelTemplateWizard object and executing it.  Then it is up to you to manually create the report in code based on the user selections. Download: LaunchLabelWizardInCode.zip Sample Delphi code: uses ppLabWiz;  Full Article…

0

How To…Implement Custom Open/Save events

Question “How can I implement custom processing when reports are loaded/saved?” Solution The following example shows how to implement the Designer OnOpenDoc and OnSaveDoc events to either override or augment the built-in save/load logic. When the OnCustomOpenDoc, OnCustomSaveDoc events are assigned, the report designer will not save or load any reports – it will instead  Full Article…

0

How To…Hide Object Inspector Properties

Question “How can I hide some of the object inspector properties from my end-users?” Solution The following example shows how to use the PropertyCategoryManager to hide the EmailSettings property. Download:  DesignerHideObjectInspectorProperties.zip Sample Delphi code uses ppInspector; procedure TForm1.Button2Click(Sender: TObject); var lPropertyCategory: TppPropertyCategory; liIndex: Integer; begin // remove EmailSettings from the User Interface category lPropertyCategory :=  Full Article…

0