SalTabGetActivePage and SAM_Report* msgs

Report bugs and possible workarounds.
Brian Howard

SalTabGetActivePage and SAM_Report* msgs

Post by Brian Howard » 02 Feb 2015, 23:09

Hi,
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.

On SAM_ReportFetchNext
Set nCounter = nCounter + 1
If nCounter > 5
Set dfnTabPage = SalTabGetActivePage( TabBar )
Return FALSE
Return TRUE

This is using 6.2 update 1, I have not tried it with PTF 3, so apologies if already fixed.

regards
Brian
You do not have the required permissions to view the files attached to this post.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests