02-03-2016 03:34 PM
Hi,
I am using the InteractionOn() command and WndShow("VIEW") to allow the user to view some of the results then continue. I want to have the script send the user to the correct sheet on the view panel. I cannot figure out how to do this. I have found how to alter anything in the view panel via script but not how to simply call out witch sheet is displayed when I use the WndShow("VIEW") Command. Any help would be appreciated.
Thank you,
02-04-2016 11:51 AM
Hi Eyoung6676,
You can acomplish this with the sheet object's Activate() function. For instance if you wanted to open the second sheet in the DIAdem View pane then you would want to add the following line before your call to WndShow:
View.Sheets(2).Activate()
Note, that this is 1-based indexing, so the second sheet is index 2.
Kevin F.
Applications Engineer
National Instruments
02-04-2016 12:24 PM
Thank you Kevin,
I thought I tried that allready, but I must have messed it up when I did. That did work for me.