Description: Returns the active page index of the named PageControl component on the current DBForm.
Calling convention: CIP_GetActiveTabSheetIndex("PageControlComponentName": String)
Parameters:
PageControlComponentName: name of a TDBFormPageControl component.
Returns: Zero-based active page index. Missing DBForm, unknown component, or wrong component type raises an exception.
Availability: Default while a DBForm containing the PageControl is active.
Example:
PageIndex := CIP_GetActiveTabSheetIndex("MainPages");