| || |
Having trouble with scrollbar object in releases
Hi Testcomplete Folks,
We have a scrollbar for one of the Child windows in our GUI. The problem is if the default child Window size changes between releases. That causes my recorded script to not work for the new release. Is there any easy way of porting scripts with scrollbars?
Re: Having trouble with scrollbar object in releases
You can use the scroll bar's properties to determine its maximum and minimum positions and calculate the position it should be set to based on this information (see the "Working With Scroll Bar Controls" help topic). This will prevent you from using hard-coded values which (if I get it right) cause problems in your scripts.