Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 2 Monaten
Letzter Beitrag:
vor 1 Jahr, 2 Monaten
Beteiligte Autoren:
Ola, Peter Holemans, Fabrice Harari

[WD21] WD_Print_Report window: quantity not obeyed

Startbeitrag von Ola am 26.04.2017 14:10

Hi all,

Since upgrading WD from 19 to 21 the WD_Print_Report has behaved randomly: it may not obey the "number of copies" given. Earlier it did.

If I select "All pages", the quantity control works as expected, and the required number of copies is printed. But if I select "Current page", the quantity control has no effect, and only one copy is printed.

I have (some WD-versions ago) translated this window and added a spin control to easily adjust the quantity, but the results are the same regardless whether the quantity is entered into the quantity control from the keyboard or the spin control.

Any hints on how to fix this?

Best regards


Hi Ola,

if I understand correctly, some versions ago, you included the print preview window and did some changes in it.

And now, you expect the OLD print preview window, with all its hidden code, to work with the NEW windev/print system. Your assumption being that they did not do any changes in the code behind the window. That is NOT the case.

AFAIK, you will have to remove your print preview window, include the NEW ONE (coming with windev 21) and redo your translations/changes

Best regards

von Fabrice Harari - am 26.04.2017 14:37
Hi Fabrice,

Thank you for the reply. I kind of expected and was afraid that that would be the solution, because I just hate to redo things that I have already done properly.

Best regards

von Ola - am 26.04.2017 20:30
Indeed, the use of open (txt/xml/...) resource files containing e.g. translations or other resource stuff could easily overcome this kind of stupidities...

But not so with WX. Guess PCS just wants to make some extra bucks on their ridiculously priced WDM toolkit.
Although I'm sure it's counterproductive in the end and I don't even think they really can get any remarkable profit out of it.

You're off for ten times slower development in this case ;-)

Good luck!

Peter Holemans

von Peter Holemans - am 26.04.2017 21:05
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.