Is there a way to scroll using Labtalk? I have a scrollable list with several rows. LstCtrl.choice=30 will select the 30th row but won't bring it to the top of the list. I need something like the "Go to Row" command for worksheets.
I believe the shift(offset) method could be used in conjunction with the choice property.
For instance, if the Boltzmann function (in the Origin Basic Functions category) is selected in the NLSF Wizard, I can move it up to the top and then back again as follows:
store=NLSFwiz!Step.Function.FuncList.choice; // store the current choice NLSFwiz!Step.Function.FuncList.shift(-1*store); // shift the item up to the top NLSFwiz!Step.Function.FuncList.shift(store); // shift the item back to its original location