The function SalTabGetActivePage will always return zero when call within SAM_Report* processing.
In the attached repro case go to the second tab and click on the Preview button. The tab page returned in the following code is zero.
Set nCounter = nCounter + 1
If nCounter > 5
Set dfnTabPage = SalTabGetActivePage( TabBar )
This is using 6.2 update 1, I have not tried it with PTF 3, so apologies if already fixed.
Who is online
Users browsing this forum: [Ccbot] and 0 guests