From: Petra on
Hi all,
I want to link 2 text-boxes to one scroll bar.
Here is one simple example to show you my problem.

s = num2str((1:1000)');
h = figure;

uicontrol('Parent',h,...
'Units','normalized',...
'Style', 'text', 'String', s,...
'Position', [0.1,0.1,0.2,0.6]);

uicontrol('Parent',h,...
'Units','normalized',...
'Position',[0.6,0.1,0.2,0.6],...
'Style','edit',...
'Max',100,...
'Enable','inactive',...
'String',s)

Now I want to link the left text-box to the right scrall bar.
But how?