Dynamically Adjusting form element before printing
Neil
2-26-19
Is there any way to adjust the positioning of form elements based on register data before printing?


For example I have a width and height field on an item and would like to set the xpos and ypos of one of the form elements based off this number before printing the form. Is there any way to do this?

I recall I had tried doing a recordupdate on the docvc register awhile ago and it caused crashes.
David Delač
3-1-19
Hello Neil,

Thank you for your enquiry. I will look into this and reach back to you once I have more information.

Best Regards,
David D.
HansaWorld Support
Vadym
3-4-19
Hello, Neil.
You can try next:
1. Create special menu procedure that get window record and prepare and update DocVc record as You wish.

2. Run PrintDocument() procedure.

I not recommend change DoPrint... procedure to updated state, because that cause the problems with threads.
David Delač
3-5-19
Hello Neil,

Vadym's suggestion is probably the best you can do at the moment since we don't have such feature as a default.


Best Regards,
David D.
HansaWorld Support
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024