Two textBox and one scroolBar (Visual studio c++ 2010)

Hello everyone and happy holiday, im trying to make two text boxes to be able to be scrolled with one scrollbar and i want to use vScrollBar and hScroolBar
And i think i should be able to achieve this using this code:

myTextBox->HorizontalOffset = myhScrollBar->Value
myTextBox->VerticalOffset = myvScrollBar->Value

But there is a problem i get this error:
(: error C2039: 'VerticalOffset' : is not a member of 'System::Windows::Forms::TextBox')

Here is link to my screenshoot.

Thank you for reading. All help much appreciated.

Last edited on
Topic archived. No new replies allowed.