print preview and page setup actions
Posted: Fri Dec 29, 2023 9:30 pm
Hi Sergey,
I've run into something I don't understand. In a new VCL project using an rve 21.7.3. Add:
rve
rve style (link to rve)
rva control panel (link to rvprint)
rvprint
action list with print preveiw, print, and pagesetup actions
a button that runs the print preview action.
OK, leave the print preview action "unconnected". By that I mean, don't associate anything in the ide to it like a control, control panel or actions. Run it that way and use the button to launch the print preview. If you run the page setup from the print preview button up top, change something in the page setup dialog and the preview adjusts as expected.
However, assign the print preview action's ActionPageSetup parameter and try it again. Now run the page setup from the print preview. Make a change in the page setup and the preview does not respond.
Why is this? I would expect linking the ActionPageSetup parameter to the ActionPageSetup action should work. These 2 actions seem to relate to each other in some way I can't understand. If you could tell me how that works I'd appreciate it!
Thanks Sergey
Stan
I've run into something I don't understand. In a new VCL project using an rve 21.7.3. Add:
rve
rve style (link to rve)
rva control panel (link to rvprint)
rvprint
action list with print preveiw, print, and pagesetup actions
a button that runs the print preview action.
OK, leave the print preview action "unconnected". By that I mean, don't associate anything in the ide to it like a control, control panel or actions. Run it that way and use the button to launch the print preview. If you run the page setup from the print preview button up top, change something in the page setup dialog and the preview adjusts as expected.
However, assign the print preview action's ActionPageSetup parameter and try it again. Now run the page setup from the print preview. Make a change in the page setup and the preview does not respond.
Why is this? I would expect linking the ActionPageSetup parameter to the ActionPageSetup action should work. These 2 actions seem to relate to each other in some way I can't understand. If you could tell me how that works I'd appreciate it!
Thanks Sergey
Stan