Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I hope the community can help me with this. I need to use the Visu Utils FbOpenDialog to control the opening and closing of a dialog. I have the Opening and Closing working, but I canβt get the dialogue's position to be controlled.
I can't seem to work out a way to make the values in TopLeftDialog.iX and TopleftDialog.iY be passed correctly in the call and for it to change the position of the dialogue box.
The code is compiled, but the position has not been changed.
Any guidance or suggestions for revising this code would be incredibly valuable. Your insights could be the key to solving this issue.
Last edit: kblundy 2024-05-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I hope the community can help me with this. I need to use the Visu Utils FbOpenDialog to control the opening and closing of a dialog. I have the Opening and Closing working, but I canβt get the dialogue's position to be controlled.
The code looks like this:
I can't seem to work out a way to make the values in TopLeftDialog.iX and TopleftDialog.iY be passed correctly in the call and for it to change the position of the dialogue box.
The code is compiled, but the position has not been changed.
Any guidance or suggestions for revising this code would be incredibly valuable. Your insights could be the key to solving this issue.
Last edit: kblundy 2024-05-05
Probably best to call the FB continuously. So something like this could solve it: