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
Piotr Wycichowski
Is it something when a user tried to use any of AI commands in SERP? /Piotr W....
10:07 8 Nov 2024
Brittany McGrath
Thank you for your post Lilian. I see this post has been submitted twice and the second post is being addressed so I will close this duplicate. Thank you. ...
09:41 5 Nov 2024