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
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024