Using XE2 with WPTools versión 7.21
If I click to File->Preview menú item, the print preview window is shown, with a small window size, so, I add the following code to my application:
Code
// Create the data module
mWPDefaultActions := TWPDefAct.Create(Self);
// Preview Window
mWPDefaultActions.WPPreviewDlg1.DefaultWidth := 800;
mWPDefaultActions.WPPreviewDlg1.DefaultHeight := Screen.WorkAreaHeight - 100;
Now, I want to further customize this window. By default the four buttons shown at top left appear disabled, so, I want to enable at least the print button.
Also, I want to offer to the user the possibility to change the zoom factor, so is it possible to include a zoom combobox to choose that zoom factor.