Friday, October 11, 2024

Crystal Report function list

Here is the list of Crystal Report function:

Functional Class: CrystalActiveXReportViewerLib13_ICrystalReportViewer12
    Functions
        Function: PropGetReportSource
        Function: PropSetReportSource
        Function: PropGetDisplayGroupTree
        Function: PropSetDisplayGroupTree
        Function: PropGetDisplayToolbar
        Function: PropSetDisplayToolbar
        Function: PropGetEnableGroupTree
        Function: PropSetEnableGroupTree
        Function: PropGetEnableNavigationControls
        Function: PropSetEnableNavigationControls
        Function: PropGetEnableStopButton
        Function: PropSetEnableStopButton
        Function: PropGetEnablePrintButton
        Function: PropSetEnablePrintButton
        Function: PropGetEnableZoomControl
        Function: PropSetEnableZoomControl
        Function: PropGetEnableCloseButton
        Function: PropSetEnableCloseButton
        Function: PropGetEnableProgressControl
        Function: PropSetEnableProgressControl
        Function: PropGetEnableSearchControl
        Function: PropSetEnableSearchControl
        Function: PropGetEnableRefreshButton
        Function: PropSetEnableRefreshButton
        Function: PropGetEnableDrillDown
        Function: PropSetEnableDrillDown
        Function: PropGetEnableAnimationCtrl
        Function: PropSetEnableAnimationCtrl
        Function: PropGetEnableSelectExpertButton
        Function: PropSetEnableSelectExpertButton
        Function: ViewReport
        Function: PropGetEnableToolbar
        Function: PropSetEnableToolbar
        Function: PropGetDisplayBorder
        Function: PropSetDisplayBorder
        Function: PropGetDisplayTabs
        Function: PropSetDisplayTabs
        Function: PropGetDisplayBackgroundEdge
        Function: PropSetDisplayBackgroundEdge
        Function: PropGetTrackCursorInfo
        Function: PropGetActiveViewIndex
        Function: PropGetViewCount
        Function: ActivateView
        Function: AddView
        Function: CloseView
        Function: GetViewPath
        Function: PrintReport
        Function: Refresh
        Function: SearchForText
        Function: ShowFirstPage
        Function: ShowNextPage
        Function: ShowPreviousPage
        Function: ShowLastPage
        Function: ShowNthPage
        Function: Zoom
        Function: GetCurrentPageNumber
        Function: ShowGroup
        Function: PropGetIsBusy
        Function: PropGetEnablePopupMenu
        Function: PropSetEnablePopupMenu
        Function: PropGetEnableExportButton
        Function: PropSetEnableExportButton
        Function: PropGetEnableSearchExpertButton
        Function: PropSetEnableSearchExpertButton
        Function: SearchByFormula
        Function: GetViewName
        Function: PropGetEnableHelpButton
        Function: PropSetEnableHelpButton
        Function: GetGroup
        Function: GetLastPageNumber
        Function: RefreshEx
        Function: PropGetLaunchHTTPHyperlinksInNewBrowser
        Function: PropSetLaunchHTTPHyperlinksInNewBrowser
        Function: PropGetLocaleID
        Function: PropSetLocaleID
        Function: PropGetEnableInteractiveParameterPrompting
        Function: PropSetEnableInteractiveParameterPrompting
        Function: DownloadResourceCab

Functional Class: CrystalActiveXReportViewerLib13_ICrystalReportViewer11
    Functions
        Function: PropGetReportSource
        Function: PropSetReportSource
        Function: PropGetDisplayGroupTree
        Function: PropSetDisplayGroupTree
        Function: PropGetDisplayToolbar
        Function: PropSetDisplayToolbar
        Function: PropGetEnableGroupTree
        Function: PropSetEnableGroupTree
        Function: PropGetEnableNavigationControls
        Function: PropSetEnableNavigationControls
        Function: PropGetEnableStopButton
        Function: PropSetEnableStopButton
        Function: PropGetEnablePrintButton
        Function: PropSetEnablePrintButton
        Function: PropGetEnableZoomControl
        Function: PropSetEnableZoomControl
        Function: PropGetEnableCloseButton
        Function: PropSetEnableCloseButton
        Function: PropGetEnableProgressControl
        Function: PropSetEnableProgressControl
        Function: PropGetEnableSearchControl
        Function: PropSetEnableSearchControl
        Function: PropGetEnableRefreshButton
        Function: PropSetEnableRefreshButton
        Function: PropGetEnableDrillDown
        Function: PropSetEnableDrillDown
        Function: PropGetEnableAnimationCtrl
        Function: PropSetEnableAnimationCtrl
        Function: PropGetEnableSelectExpertButton
        Function: PropSetEnableSelectExpertButton
        Function: ViewReport
        Function: PropGetEnableToolbar
        Function: PropSetEnableToolbar
        Function: PropGetDisplayBorder
        Function: PropSetDisplayBorder
        Function: PropGetDisplayTabs
        Function: PropSetDisplayTabs
        Function: PropGetDisplayBackgroundEdge
        Function: PropSetDisplayBackgroundEdge
        Function: PropGetTrackCursorInfo
        Function: PropGetActiveViewIndex
        Function: PropGetViewCount
        Function: ActivateView
        Function: AddView
        Function: CloseView
        Function: GetViewPath
        Function: PrintReport
        Function: Refresh
        Function: SearchForText
        Function: ShowFirstPage
        Function: ShowNextPage
        Function: ShowPreviousPage
        Function: ShowLastPage
        Function: ShowNthPage
        Function: Zoom
        Function: GetCurrentPageNumber
        Function: ShowGroup
        Function: PropGetIsBusy
        Function: PropGetEnablePopupMenu
        Function: PropSetEnablePopupMenu
        Function: PropGetEnableExportButton
        Function: PropSetEnableExportButton
        Function: PropGetEnableSearchExpertButton
        Function: PropSetEnableSearchExpertButton
        Function: SearchByFormula
        Function: GetViewName
        Function: PropGetEnableHelpButton
        Function: PropSetEnableHelpButton
        Function: GetGroup
        Function: GetLastPageNumber
        Function: RefreshEx
        Function: PropGetLaunchHTTPHyperlinksInNewBrowser
        Function: PropSetLaunchHTTPHyperlinksInNewBrowser
        Function: PropGetLocaleID
        Function: PropSetLocaleID
        Function: PropGetEnableInteractiveParameterPrompting
        Function: PropSetEnableInteractiveParameterPrompting

Functional Class: CrystalActiveXReportViewerLib13_ICrystalReportSourceRouter
    Functions
        Function: AddReport

Thursday, October 10, 2024

How to get the property at run-time

Source code:

Here is the sample code:

If SalOutlineItemOfWindow( hWndItem ) > 0
    Call SalOutlineItemTypeText( SalOutlineCurrent( ), SalOutlineItemOfWindow( hWndItem ), CDK_IT_Editable, FALSE, sAttributeValue )

Number: CDK_IT_Editable = 0x0047
Number: CDK_IT_Justify = 0x008E

See cdk.apl for the complete list of CDK constants.

How to Change Font Menu

Source code:

Here is the sample code

Set hMenu = SalGetMenu( hWndMDI)
Set bReturn = SalMenuSetFont( hWndMDI, 'File', 'Times New Roman', 10, FONT_EnhNormal )
Set bReturn = SalMenuUpdate( hWndMDI, hMenu )

Note:

  • Make sure to set the MDI property, "Persist Child Menus" to YES
  • Font enhancements:
    FONT_EnhNormal
    FONT_EnhItalic
    FONT_EnhUnderline
    FONT_EnhBold
    FONT_EnhStrikeout
  • Font Name: "Times New Roman", "Microsoft Sans Serif", etc...

Wednesday, October 20, 2010

Unify Team Developer 5.2

Unify Team Developer 5.2 Download link: