PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: felis.domestica on September 02, 2019, 05:21:44 AM

Title: Finding the control (number) of a scrollbar
Post by: felis.domestica on September 02, 2019, 05:21:44 AM
Hi list,
i am a newbie using Pvxplus. I'd like to synchronize horizontal scrollbars in two grids (side by side in a panel). If i change a scrollbar in one grid, the corresponding change has to take place in the other scrollbar/grid, and vice versa. I have a grid ctl, but how can i find the grid's horizontal (or vertical) scrollbar control?

I heard the scroll bar's control is the grid's control + 500, but surely there is another way?

Thank you for helping me out,