Implementing scroll bars

Technical discussions
Post Reply
CG_
Posts: 6
Joined: Fri Mar 03, 2017 12:25 am

Implementing scroll bars

Post by CG_ »

Hi
Another one:
In the current implementation of my application, I can show horizontal and vertical scroll bars in ChildWindows such as to be able to pan the display Up/Down, - Left/Right in ref. to the screen coordinates, not in ref. to X Y Z in the general coordinate system. How is this achieved ? Using the Translation in the Transform example
is not what I want as these translations move along the axes of the general coordinate system, not that of the display.
I would appreciate any suggestions

Prashant Kande
Posts: 121
Joined: Mon Apr 04, 2016 4:55 am

Re: Implementing scroll bars

Post by Prashant Kande »

Hello CG_
I am not sure if this is what you need, but you can scroll the form on which the KC window is one of the controls. This approach is just .NET forms functionality and no KC internals are involved

In case you need to pan what is visible in KC window, in the plane of the screen you need to use Eye frame. Have a look at "Start Menu of the PC">Sample Explorer>View>Zoom>"Translate Eye Frame" controls

Prashant

Post Reply